From 96b67ec833cbad5519d289e38660c079475b27b9 Mon Sep 17 00:00:00 2001 From: ciiiii Date: Tue, 22 Mar 2022 04:06:38 +0800 Subject: [PATCH] split gcr.io and k8s.gcr.io --- README.md | 1 + src/index.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bcdfd5b..cb194f1 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ "docker.libcuda.so": "https://registry-1.docker.io", "quay.libcuda.so": "https://quay.io", "gcr.libcuda.so": "https://k8s.gcr.io", + "k8s-gcr.libcuda.so": "https://k8s.gcr.io", "ghcr.libcuda.so": "https://ghcr.io", }; ``` diff --git a/src/index.js b/src/index.js index 8f7e77b..39d5d6c 100644 --- a/src/index.js +++ b/src/index.js @@ -6,7 +6,8 @@ addEventListener("fetch", (event) => { const routes = { "docker.libcuda.so": "https://registry-1.docker.io", "quay.libcuda.so": "https://quay.io", - "gcr.libcuda.so": "https://k8s.gcr.io", + "gcr.libcuda.so": "https://gcr.io", + "k8s-gcr.libcuda.so": "https://k8s.gcr.io", "ghcr.libcuda.so": "https://ghcr.io", };