diff --git a/scripts/playwright-webserver-command.sh b/scripts/playwright-webserver-command.sh index 8c00909b..35d5fd38 100755 --- a/scripts/playwright-webserver-command.sh +++ b/scripts/playwright-webserver-command.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ -n "$USE_DOCKER" ]; then set -ex - yarn build + yarn build --mode development docker build -t element-call:testing . exec docker run --rm --name element-call-testing -p 8080:8080 -v ./config/config.devenv.json:/app/config.json:ro,Z element-call:testing else diff --git a/src/state/initialMuteState.ts b/src/state/initialMuteState.ts index f7582daa..5fdc6a6f 100644 --- a/src/state/initialMuteState.ts +++ b/src/state/initialMuteState.ts @@ -19,7 +19,7 @@ export function calculateInitialMuteState( urlParams: Pick, packageType: "full" | "embedded", hostname: string | undefined = undefined, - trustLocalhost: boolean = import.meta.env.DEV || !!process.env.CI, + trustLocalhost: boolean = import.meta.env.DEV, ): { audioEnabled: boolean; videoEnabled: boolean } { const { skipLobby, callIntent } = urlParams;