mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-24 16:40:25 +00:00
Update cloudflare.js
This commit is contained in:
parent
ad7cf356b4
commit
b8f5864601
1 changed files with 1 additions and 3 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue