fix: set NODE_ENV in wrangler

This commit is contained in:
Michael H.
2026-08-27 13:55:40 +02:00
parent e0cd019869
commit 25fb06ce27
+2
View File
@@ -44,6 +44,7 @@
"mode": "smart"
},
"vars": {
"NODE_ENV": "production",
"ENVIRONMENT": "production",
"SENTRY_ENVIRONMENT": "production",
"BASE_URL": "https://api.modrinth.com/v2/",
@@ -66,6 +67,7 @@
},
"routes": ["staging.modrinth.com/*"],
"vars": {
"NODE_ENV": "development",
"ENVIRONMENT": "staging",
"SENTRY_ENVIRONMENT": "staging",
"BASE_URL": "https://staging-api.modrinth.com/v2/",