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
用户访问 /page/2 这样的目录时,服务端会返回 HTTP 404 状态码,但是本地 dev 没有这个问题。 Vercel 已配置 rewrite 至 index.html
/page/2
index.html
最坏的情况就是不配置 Vercel 的 rewrite
Example: https://blog.gxres.net/page/2 打开 F12 Network 并刷新页面就能逮住
System: OS: Windows 10 10.0.19044 CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz Memory: 10.41 GB / 15.80 GB Binaries: Node: 20.10.0 - C:\Program Files\nodejs\node.EXE npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD pnpm: 8.15.4 - ~\AppData\Roaming\npm\pnpm.CMD Browsers: Edge: Chromium (122.0.2365.80) Internet Explorer: 11.0.19041.3636
pnpm
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
用户访问
/page/2
这样的目录时,服务端会返回 HTTP 404 状态码,但是本地 dev 没有这个问题。Vercel 已配置 rewrite 至
index.html
Reproduction
最坏的情况就是不配置 Vercel 的 rewrite
Example: https://blog.gxres.net/page/2
打开 F12 Network 并刷新页面就能逮住
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: