From db48c62d9d8e86dd439cc70840934c8f2a14e354 Mon Sep 17 00:00:00 2001 From: zerohacker <42968364+liangyoufeng@users.noreply.github.com> Date: Fri, 5 Jul 2024 09:51:11 +0800 Subject: [PATCH] Update index.js --- src/index.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/index.js b/src/index.js index 9213aedf..30463314 100644 --- a/src/index.js +++ b/src/index.js @@ -4,18 +4,17 @@ addEventListener("fetch", (event) => { }); const routes = { - "docker.goitcloud.eu.org": "https://registry-1.docker.io", - "quay.goitcloud.eu.org": "https://quay.io", - "gcr.goitcloud.eu.org": "https://gcr.io", - "k8s-gcr.goitcloud.eu.org": "https://k8s.gcr.io", - "k8s.goitcloud.eu.org": "https://registry.k8s.io", - "ghcr.goitcloud.eu.org": "https://ghcr.io", - "cloudsmith.goitcloud.eu.org": "https://docker.cloudsmith.io", - "pypi.goitcloud.eu.org": "https://pypi.org", - "npmjs.goitcloud.eu.org": "https://registry.npmjs.org", - "cnpmjs.goitcloud.eu.org": "http://r.cnpmjs.org", - "download.docker.goitcloud.eu.org": "https://download.docker.com", - "hub.docker.goitcloud.eu.org": "https://hub.docker.com", + "dc.goitcloud.eu.org": "https://registry-1.docker.io", + "qa.goitcloud.eu.org": "https://quay.io", + "gr.goitcloud.eu.org": "https://gcr.io", + "ks-gr.goitcloud.eu.org": "https://k8s.gcr.io", + "ks.goitcloud.eu.org": "https://registry.k8s.io", + "gc.goitcloud.eu.org": "https://ghcr.io", + "cs.goitcloud.eu.org": "https://docker.cloudsmith.io", + "pi.goitcloud.eu.org": "https://pypi.org", + "nj.goitcloud.eu.org": "https://registry.npmjs.org", + "cj.goitcloud.eu.org": "http://r.cnpmjs.org", + "ddc.goitcloud.eu.org": "https://download.docker.com", }; function routeByHosts(host) {