Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

md生成的文件如果不带.html扩展名,会导致nginx中的mine.types文件配置无法匹配,会默认default_type,自有服务器可以更改成text/html,但是如果发布到github pages里面就会出现刷新页面,下载该页面的 #5446

Closed
5 tasks
heyanming opened this issue Mar 29, 2024 · 0 comments

Comments

@heyanming
Copy link

Check List

  • I have already read Docs page & Troubleshooting page.
  • 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 Hexo. (run hexo version to check)
  • My Node.js is matched the required version.

Expected behavior

如果生成不带扩展名的文件也能兼容github page,不会出现刷新某个文章自动下载的情况

Actual behavior

如果生成不带扩展名的文件也能兼容github page,出现刷新某个文章自动下载的情况

How to reproduce?

见下图
1711685621598

Is the problem still there under Safe mode?

11

Your Node.js & npm version

No response

Your Hexo and Plugin version

No response

Your package.json

No response

Your site's _config.yml (Optional)

No response

Others

No response

@hexojs hexojs locked and limited conversation to collaborators Mar 29, 2024
@yoshinorin yoshinorin converted this issue into discussion #5447 Mar 29, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant