BYRIO / BYRIO-mirrors

9 stars 3 forks source link

gentoo-portage.git的帮助文档会跳转404 #2

Closed tongyifan closed 4 years ago

tongyifan commented 4 years ago

https://mirrors.byrio.org/help/gentoo-portage.git/ 页面中存在如下javascript

var redirect_to = window.location.protocol + "//" + window.location.host + "/help/gentoo-portage/";
window.location = redirect_to;

将页面转向 https://mirrors.byrio.org/help/gentoo-portage/ tuna是同时有gentoo-portage(使用http和rsync访问)和gentoo-protage.git(使用git访问)两个仓库的,因此跳转到gentoo-portage的帮助信息是没有问题的,但byrio只有gentoo-portage.git一个仓库,页面中的 static/js/help.js 文件访问 /static/tunasync.json 获取repo信息时会找不到gentoo-portage仓库,进而跳转到 https://mirrors.byrio.org/404-help-hidden.html

tongyifan commented 4 years ago

查看发现已修复