diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 7efee44..144a2e1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -87,7 +87,7 @@ jobs: - name: Start preview server run: | npm run preview & - npx wait-on http://localhost:4173/ --timeout 30000 + npx wait-on http://127.0.0.1:4173/ --timeout 30000 - name: Run Lighthouse CI run: | CHROME_PATH=$(find /home/runner/.cache/ms-playwright -name chrome -type f 2>/dev/null | head -1) diff --git a/lighthouserc.json b/lighthouserc.json index f85a377..59184ad 100644 --- a/lighthouserc.json +++ b/lighthouserc.json @@ -2,7 +2,7 @@ "ci": { "collect": { "staticDistDir": "./dist", - "url": ["http://localhost:4173/"], + "url": ["http://127.0.0.1:4173/"], "numberOfRuns": 1, "settings": { "chromeFlags": ["--headless=new", "--no-sandbox", "--disable-gpu", "--disable-dev-shm-usage"],