We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
描述bug 原来版本是4.4.6,开启了伪静态,路径前缀设置为空(就是 process.env.NEXT_PUBLIC_POST_URL_PREFIX || ''); 5月31日升级到4.5.3后打开页面一直显示Loading...,如果加上路径前缀可以打开post文章,其他page单页打不开。 经过几天测试,发现只要在blog.config关闭伪静态就可以正常打开,与其他配置无关。
process.env.NEXT_PUBLIC_POST_URL_PREFIX || ''
Loading...
blog.config
期望的正常结果 【此项必填】 跟升级前一样,可以正常打开文章、单页
复现步骤 【此项必填】 在blog.config中设置PSEUDO_STATIC: process.env.NEXT_PUBLIC_PSEUDO_STATIC || true
PSEUDO_STATIC: process.env.NEXT_PUBLIC_PSEUDO_STATIC || true
环境
补充说明 如果加上路径前缀可以打开post文章,其他page单页打不开
The text was updated successfully, but these errors were encountered:
现在可以打开,感谢! 但是打开后再刷新,页面的伪静态就失效了(从伪静态URL跳转到了原始URL)。
Sorry, something went wrong.
tangly1024
Successfully merging a pull request may close this issue.
描述bug
原来版本是4.4.6,开启了伪静态,路径前缀设置为空(就是
process.env.NEXT_PUBLIC_POST_URL_PREFIX || ''
);5月31日升级到4.5.3后打开页面一直显示
Loading...
,如果加上路径前缀可以打开post文章,其他page单页打不开。经过几天测试,发现只要在
blog.config
关闭伪静态就可以正常打开,与其他配置无关。期望的正常结果
【此项必填】
跟升级前一样,可以正常打开文章、单页
复现步骤
【此项必填】
在
blog.config
中设置PSEUDO_STATIC: process.env.NEXT_PUBLIC_PSEUDO_STATIC || true
环境
补充说明
如果加上路径前缀可以打开post文章,其他page单页打不开
The text was updated successfully, but these errors were encountered: