From 3f32869c392d6e7b0230afeaf12b1a5dde16760d Mon Sep 17 00:00:00 2001 From: zcx2001 Date: Fri, 12 Jul 2024 09:39:08 +0800 Subject: [PATCH] Update index.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改为自己的域名 --- src/index.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/index.js b/src/index.js index 97b088521..fb2f296d6 100644 --- a/src/index.js +++ b/src/index.js @@ -7,17 +7,17 @@ const dockerHub = "https://registry-1.docker.io"; const routes = { // production - "docker.libcuda.so": dockerHub, - "quay.libcuda.so": "https://quay.io", - "gcr.libcuda.so": "https://gcr.io", - "k8s-gcr.libcuda.so": "https://k8s.gcr.io", - "k8s.libcuda.so": "https://registry.k8s.io", - "ghcr.libcuda.so": "https://ghcr.io", - "cloudsmith.libcuda.so": "https://docker.cloudsmith.io", - "ecr.libcuda.so": "https://public.ecr.aws", + "docker.zcx.me": dockerHub, + "quay.zcx.me": "https://quay.io", + "gcr.zcx.me": "https://gcr.io", + "k8s-gcr.zcx.me": "https://k8s.gcr.io", + "k8s.zcx.me": "https://registry.k8s.io", + "ghcr.zcx.me": "https://ghcr.io", + "cloudsmith.zcx.me": "https://docker.cloudsmith.io", + "ecr.zcx.me": "https://public.ecr.aws", // staging - "docker-staging.libcuda.so": dockerHub, + "docker-staging.zcx.me": dockerHub, }; function routeByHosts(host) {