From 4e8f6d6e6349e250ac4dd8abd790f1ee0e438dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E7=92=9F?= Date: Tue, 22 Oct 2024 16:54:59 +0800 Subject: [PATCH] Update cloudflare.js --- docker/cloudflare.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docker/cloudflare.js b/docker/cloudflare.js index 1923d3bf..6de5110e 100644 --- a/docker/cloudflare.js +++ b/docker/cloudflare.js @@ -4,15 +4,13 @@ addEventListener('fetch', event => { // This data source from: https://raw.githubusercontent.com/Websoft9/doc.websoft9.com/refs/heads/main/docs/reference/_include/dockerhub-proxy.md const backends = [ - 'https://docker.rainbond.cc', - 'https://docker.1panel.dev', - 'https://docker.fxxk.dedyn.io', - 'https://a.ussh.net', - 'https://docker.zhai.cm' + 'https://docker.rainbond.cc' ] var test = "test" async function handleRequest(request) { + //打印 + print(test) // 随机选择一个后端服务器 const backend = backends[Math.floor(Math.random() * backends.length)]