feat(CF): 现已支持部署到CloudFlare-Workers

This commit is contained in:
2025-12-22 14:55:40 +08:00
parent 6f6dea9f03
commit 1c7837d50c
12 changed files with 2441 additions and 119 deletions

9
wrangler.toml Normal file
View File

@@ -0,0 +1,9 @@
name = "latency-test"
main = "dist/worker/index.js"
compatibility_date = "2025-12-22"
compatibility_flags = ["nodejs_compat"]
assets = { directory = "./dist/client" }
[vars]
GLOBALPING_API = "https://api.globalping.io/v1"