Update cloudflare.js

This commit is contained in:
赵璟 2024-10-22 16:56:51 +08:00 committed by GitHub
parent 4e8f6d6e63
commit fa019cdf4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,11 +6,7 @@ addEventListener('fetch', event => {
const backends = [
'https://docker.rainbond.cc'
]
var test = "test"
async function handleRequest(request) {
//打印
print(test)
// 随机选择一个后端服务器
const backend = backends[Math.floor(Math.random() * backends.length)]