misc: add nodejs_compat for workers, workers can use secrets from env now

This commit is contained in:
lyc8503 committed 2025-12-23 23:31:02 +08:00
1 parent e9d8a1c842
commit baf489e3cb
3 files changed
+3

No files matched your search

+1
View File
@@ -2,3 +2,4 @@ name = "uptimeflare_worker"
main = "src/index.ts"
compatibility_date = "2025-04-02"
kv_namespaces = [{ binding = "UPTIMEFLARE_STATE", id = "UPTIMEFLARE_STATE" }]
compatibility_flags = [ "nodejs_comat" ]