Open taoky opened 9 months ago
This is a known issue of Next.js:
This "bug" is introduced to Next.js 3 years ago: https://github.com/vercel/next.js/pull/14681 and I don't think that they would like to "fix" it (as it may break some other websites). Maybe we could just add a slash manually in sidebar?
Reported to next.js as https://github.com/vercel/next.js/issues/56090.
先决条件 (Prerequisites)
发生了什么(What happened)
在侧边栏点击包括 "Rust crates.io 索引镜像" 等项时,URL 显示为:
https://help.mirrorz.org/crates.io-index.git
但不包含 '.' 的项,如 "Alpine 软件仓库",URL 显示为:
https://help.mirrorz.org/alpine/
如果结尾不为 '/',访问会出现 404。
期望的现象(What you expected to happen)
跳转至 "https://help.mirrorz.org/crates.io-index.git/"
如何重现此问题(How to reproduce it)
访问 https://help.mirrorz.org/ 或
https://help.mirrors.cernet.edu.cn/,访问左侧边栏中诸如 "Rust crates.io 索引镜像" "GDB Git" 等项,之后刷新页面。操作系统(OS Version)
N/A
浏览器(如果适用)(Browser version, if applicable)
Firefox 117.0.1
其他环境(Other environments)
N/A
其他需要说明的事项(Anything else we need to know)
N/A