From 5885e41edb5fdb820e4aa8c324bfb458c585d175 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 25 Feb 2025 15:41:36 +0100 Subject: [PATCH] fix: recommend localhost instead of 127.0.0.1 --- assets/playwright.config.js | 4 ++-- assets/playwright.config.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/playwright.config.js b/assets/playwright.config.js index 799008a..11b4e9c 100644 --- a/assets/playwright.config.js +++ b/assets/playwright.config.js @@ -27,7 +27,7 @@ export default defineConfig({ /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Base URL to use in actions like `await page.goto('/')`. */ - // baseURL: 'http://127.0.0.1:3000', + // baseURL: 'http://localhost:3000', /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on-first-retry', @@ -80,7 +80,7 @@ export default defineConfig({ /* Run your local dev server before starting the tests */ // webServer: { // command: 'npm run start', - // url: 'http://127.0.0.1:3000', + // url: 'http://localhost:3000', // reuseExistingServer: !process.env.CI, // }, }); diff --git a/assets/playwright.config.ts b/assets/playwright.config.ts index 4b5f34d..57b2c3c 100644 --- a/assets/playwright.config.ts +++ b/assets/playwright.config.ts @@ -26,7 +26,7 @@ export default defineConfig({ /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Base URL to use in actions like `await page.goto('/')`. */ - // baseURL: 'http://127.0.0.1:3000', + // baseURL: 'http://localhost:3000', /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on-first-retry', @@ -79,7 +79,7 @@ export default defineConfig({ /* Run your local dev server before starting the tests */ // webServer: { // command: 'npm run start', - // url: 'http://127.0.0.1:3000', + // url: 'http://localhost:3000', // reuseExistingServer: !process.env.CI, // }, });