Update cloudflare.js

This commit is contained in:
赵璟 2024-10-22 17:04:48 +08:00 committed by GitHub
parent ad7cf356b4
commit b8f5864601
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,9 +3,7 @@ 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'
]
const backends = []
async function handleRequest(request) {
// 随机选择一个后端服务器
const backend = backends[Math.floor(Math.random() * backends.length)]