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

prependRoot: true & postAsset: true do not work for hexo 7 #290

Closed
6 tasks done
CX330Blake opened this issue Jun 2, 2024 · 3 comments · Fixed by hexojs/hexo#5481
Closed
6 tasks done

prependRoot: true & postAsset: true do not work for hexo 7 #290

CX330Blake opened this issue Jun 2, 2024 · 3 comments · Fixed by hexojs/hexo#5481
Labels

Comments

@CX330Blake
Copy link

Check List

  • I have already read README.
  • I have already searched existing issues and they are not help to me.
  • I examined error or warning messages and it's difficult to solve.
  • I am using the latest version of this repository.
  • I am using the latest version of Hexo.
  • My Node.js is matched the required version.

Describe the bug

I use the following config in my _config.yml but the image still cannot show(with response CAN NOT GET /image.jpg)

post_asset_folder: true
marked:
    prependRoot: true
    postAsset: true
relative_link: false

and the markdown I use in my post is like this.

![](image.jpg)

Expected behavior

It should be OK to show my image

How to reproduce

  1. Use Hexo 7
  2. Use the same config as mine

Screenshots

No response

Environment information

No response

Additional context

No response

@uiolee uiolee added the bug label Jun 21, 2024
@uiolee
Copy link
Member

uiolee commented Jun 21, 2024

try hexo@7.1.1

@uiolee
Copy link
Member

uiolee commented Jun 25, 2024

Duplicate of #281

@uiolee uiolee marked this as a duplicate of #281 Jun 25, 2024
@uiolee uiolee closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2024
@yoshinorin
Copy link
Member

@CX330Blake

We have released version v7.3.0, which fixes this issue.
Thank you.

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

Successfully merging a pull request may close this issue.

3 participants