web server command with sudo
This commit is contained in:
2
client/playwright.config.ts
vendored
2
client/playwright.config.ts
vendored
@@ -70,7 +70,7 @@ export default defineConfig({
|
|||||||
|
|
||||||
webServer: {
|
webServer: {
|
||||||
command: process.env.CI
|
command: process.env.CI
|
||||||
? '/tmp/adguard/AdGuardHome --local-frontend -v'
|
? 'sudo /tmp/adguard/AdGuardHome --local-frontend -v'
|
||||||
: 'rm -f AdGuardHome.yaml && sudo ./AdGuardHome --local-frontend -v',
|
: 'rm -f AdGuardHome.yaml && sudo ./AdGuardHome --local-frontend -v',
|
||||||
url: 'http://127.0.0.1:3000',
|
url: 'http://127.0.0.1:3000',
|
||||||
cwd: '..',
|
cwd: '..',
|
||||||
|
|||||||
Reference in New Issue
Block a user