chore(wrangler): drop inherited workers_dev / preview_urls from env.staging (#110)
Both keys are inheritable in wrangler, so staging already resolves to false from the top level (checked with unstable_readConfig). Vars, bindings and the empty crons override stay: those are not inherited. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c2a0babdc1
commit
b0ebb8e9c6
1 file changed
+2
-3
@@ -97,10 +97,9 @@
|
||||
"env": {
|
||||
// Pre-release checks: Worker "free-games-itchio-list-staging", deployed by hand
|
||||
// from any branch with `npx wrangler deploy --env staging`, whole host behind
|
||||
// Access. Bindings and vars are not inherited, so every one is repeated here.
|
||||
// Access. workers_dev / preview_urls (false) and triggers are inherited from
|
||||
// the top level; bindings and vars are not, so every one is repeated here.
|
||||
"staging": {
|
||||
"workers_dev": false,
|
||||
"preview_urls": false,
|
||||
"routes": [{ "pattern": "staging.freeitchgames.win", "custom_domain": true }],
|
||||
"r2_buckets": [{ "binding": "THUMBS", "bucket_name": "freeitchgames-thumbs-staging" }],
|
||||
"d1_databases": [
|
||||
|
||||
Reference in new issue
Block a user