build: remove unnecessary nodejs_compat flag from compatibility_flags

This commit is contained in:
Tony
2026-10-10 01:14:59 +08:00
parent c56e7c7743
commit 6ca76cd373
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
name = "rsshub"
main = "dist-worker/worker.mjs"
compatibility_date = "2026-09-01"
compatibility_flags = ["global_fetch_strictly_public", "nodejs_compat"]
compatibility_flags = ["global_fetch_strictly_public"]
find_additional_modules = true
base_dir = "dist-worker/modules"
+2 -1
View File
@@ -1,7 +1,8 @@
name = "rsshub"
main = "dist-worker/worker.mjs"
compatibility_date = "2026-09-01"
compatibility_flags = ["global_fetch_strictly_public", "nodejs_compat"]
# No nodejs_compat needed, read https://developers.cloudflare.com/workers/runtime-apis/nodejs/#get-started
compatibility_flags = ["global_fetch_strictly_public"]
find_additional_modules = true
base_dir = "dist-worker/modules"