run playwright in dev mode

This commit is contained in:
Valere
2026-01-09 14:41:07 +01:00
parent e9ed9580db
commit ad66d10c69
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -19,7 +19,7 @@ export function calculateInitialMuteState(
urlParams: Pick<UrlParams, "skipLobby" | "callIntent">,
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;