Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
liangyoufeng authored Jul 5, 2024
1 parent 9bd866f commit db48c62
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit db48c62

Please sign in to comment.