Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The url configuration should be verified #5577

Open
2 tasks done
ShaytonXu opened this issue Nov 30, 2024 · 1 comment
Open
2 tasks done

The url configuration should be verified #5577

ShaytonXu opened this issue Nov 30, 2024 · 1 comment

Comments

@ShaytonXu
Copy link

ShaytonXu commented Nov 30, 2024

Check List

  • I have already read Docs page.
  • I have already searched existing issues.

Feature Request

I have a old hexo source blog(hexo@3.x), and I try to upgrade to the latest hexo version, but when I run hexo server, I got the error:

Template render error: (unknown path)
  TypeError: Invalid URL

And finally I found the source of error is the new URL in asset_img processor.
image
And it's occured because my url config was not started with https. This took me some time to figure this out. But I think this error can be found when valid the config file.
image

Others

No response

@ShaytonXu
Copy link
Author

I just create a pull request, I think it may help.

#5578

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant