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

fix: tag links not ending with '/' #548

Merged
merged 2 commits into from
Apr 19, 2023
Merged

fix: tag links not ending with '/' #548

merged 2 commits into from
Apr 19, 2023

Conversation

cirry
Copy link

@cirry cirry commented Apr 18, 2023

fix #547 ,hexo在打包的时候会给每一篇文章生成一个同名文件夹,文件夹下的inex.html才是文档本身。
带'/'默认为目录,不带'/'默认为文件。
结尾不带'/',服务器会搜寻指定路径的文件,搜寻不到文件后,会重定向到对应的同名文件夹下进行查找,导致多触发一次重定向。

@tufu9441 tufu9441 merged commit 2da14d5 into tufu9441:master Apr 19, 2023
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

Successfully merging this pull request may close these issues.

文章下的 tag 链接没带结尾的 /
2 participants