Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
修改为自己的域名
  • Loading branch information
zcx2001 authored Jul 12, 2024
1 parent aa61ad5 commit 3f32869
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3f32869

Please sign in to comment.