Explicitly add unsafe-eval only when running automated browser tests

This commit is contained in:
Gabe Kangas
2021-09-18 10:06:47 -07:00
parent cc6b257470
commit e81d41d092
2 changed files with 11 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ pushd ../../.. > /dev/null
# Build and run owncast from source
go build -o owncast main.go pkged.go
./owncast -rtmpport 9021 -webserverport 5309 -database $TEMP_DB &
BROWSER_TEST=true ./owncast -rtmpport 9021 -webserverport 5309 -database $TEMP_DB &
SERVER_PID=$!
popd > /dev/null