mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
Update cloudflare.js
This commit is contained in:
parent
ad7cf356b4
commit
b8f5864601
@ -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
|
// This data source from: https://raw.githubusercontent.com/Websoft9/doc.websoft9.com/refs/heads/main/docs/reference/_include/dockerhub-proxy.md
|
||||||
const backends = [
|
const backends = []
|
||||||
'https://docker.rainbond.cc'
|
|
||||||
]
|
|
||||||
async function handleRequest(request) {
|
async function handleRequest(request) {
|
||||||
// 随机选择一个后端服务器
|
// 随机选择一个后端服务器
|
||||||
const backend = backends[Math.floor(Math.random() * backends.length)]
|
const backend = backends[Math.floor(Math.random() * backends.length)]
|
||||||
|
Loading…
Reference in New Issue
Block a user