Skip to content

The url configuration should be verified #5577

@ShaytonXu

Description

@ShaytonXu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions