Skip to content

Commit

Permalink
fix: change viewing rooms unstitching feature flag condition (#6280)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickskalkin authored Dec 2, 2024
1 parent d13f5cf commit b6071aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"deploy-cloudflare-workers": "yarn wrangler deploy --keep-vars --config=workers/caching/metaphysics-cdn.toml --env production",
"dev": "DEBUG=info,warn,error babel-node --extensions '.ts,.js' --inspect index.js",
"dump-schema": "babel-node --extensions '.ts,.js' ./scripts/dump-schema.ts",
"dump:local": "yarn dump-schema _schemaV2.graphql & wait",
"dump:staging": "node scripts/dump-staging-schema.js",
"dump:local": "USE_UNSTITCHED_VIEWING_ROOM_SCHEMA=false yarn dump-schema _schemaV2.graphql & wait",
"dump:staging": "USE_UNSTITCHED_VIEWING_ROOM_SCHEMA=false node scripts/dump-staging-schema.js",
"lint": "eslint . --ext ts",
"lint:fix": "eslint . --fix --ext ts",
"prepare": "patch-package",
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export default {
UNLEASH_APP_NAME: UNLEASH_APP_NAME || "",
UNLEASH_SERVER_KEY: UNLEASH_SERVER_KEY || "",
USE_UNSTITCHED_VIEWING_ROOM_SCHEMA:
USE_UNSTITCHED_VIEWING_ROOM_SCHEMA === "true" && NODE_ENV !== "production",
USE_UNSTITCHED_VIEWING_ROOM_SCHEMA === "true",
VORTEX_API_BASE,
VORTEX_APP_ID,
VORTEX_TOKEN,
Expand Down

0 comments on commit b6071aa

Please sign in to comment.