options: cleanup

Ref to 6fdc2990d
This commit is contained in:
ZenithalHourlyRate 2021-10-26 00:16:32 +08:00
parent 8776ce5921
commit 82bf1987cf
No known key found for this signature in database
GPG Key ID: 1189C659F3D04C1C
2 changed files with 0 additions and 10 deletions

View File

@ -242,8 +242,6 @@ mirror_desc:
desc: Linux 内核源代码的 Git 仓库, 稳定版分支
- name: linux.git
desc: Linux 内核源代码的 Git 仓库
- name: linuxbrew-bottles
desc: 预编译的 Linuxbrew 软件包
- name: linuxlite-cd
desc: 基于 Ubuntu 长期支持版本LTS的 Linux 发行版 Linux Lite 的安装镜像
- name: linuxmint
@ -440,7 +438,6 @@ mirror_desc:
desc: 著名的网络监视、管理系统
new_mirrors:
- hugging-face-models
- endeavouros
- ubuntukylin
- putty
@ -520,7 +517,6 @@ unlisted_mirrors:
name: "thuthesis"
url: '/github-release/tuna/thuthesis'
force_redirect_help_mirrors:
- AOSP
- lineageOS
@ -545,9 +541,6 @@ force_redirect_help_mirrors:
- flutter-sdk.git
- julia-general.git
force_show_help_mirrors:
- hugging-face-models
label_map:
unknown: label-default
syncing: label-info

View File

@ -45,9 +45,6 @@ $(document).ready(() => {
globalOptions.unlisted_mirrors.forEach(elem => {
availableMirrorIds.add(elem.name)
});
globalOptions.force_show_help_mirrors.forEach(elem => {
availableMirrorIds.add(elem)
});
console.log(window.mirrorId);
if (!availableMirrorIds.has(window.mirrorId)) {
location.href = "/404-help-hidden.html"; // this will break 404 issue submission