diff --git a/playwright.config.js b/playwright.config.js index ec008c2..efec41f 100644 --- a/playwright.config.js +++ b/playwright.config.js @@ -1,11 +1,11 @@ import { defineConfig } from '@playwright/test'; const PORT = process.env.PORT || 5173; -const serverUrl = `http://localhost:${PORT}`; +const serverUrl = `http://127.0.0.1:${PORT}`; export default defineConfig({ webServer: { - command: 'pnpm run dev', + command: 'pnpm run dev --host', url: serverUrl, reuseExistingServer: !process.env.CI, },