diff --git a/scripts/scenarios/start-app.ts b/scripts/scenarios/start-app.ts index c22d692528..023d249af7 100644 --- a/scripts/scenarios/start-app.ts +++ b/scripts/scenarios/start-app.ts @@ -162,7 +162,7 @@ const startApp = Effect.fn("startApp")(function* (input: { args: devRunner("dev:server", ports), env: { ...webEnv, - T3CODE_DEV_ALLOWED_ORIGINS: origin, + T3CODE_DEV_ALLOWED_ORIGINS: `${origin},http://${process.env.T3_PROOF_HOST}:${webPort}`, // Makes the startup pairing link reusable, so every test can sign in with it. T3CODE_DEV_AUTH_TOKEN: `${token}${token}`.replaceAll("-", ""), }, @@ -179,7 +179,7 @@ const startApp = Effect.fn("startApp")(function* (input: { const web = yield* start({ cwd: checkout, command: node, - args: devRunner("dev:web", [...ports, "--", "--host", host]), + args: devRunner("dev:web", [...ports, "--", "--host", "0.0.0.0"]), env: webEnv, onLine: Console.log, });