diff --git a/cypress.config.ts b/cypress.config.ts index 87f483e7..ff892802 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -8,7 +8,7 @@ export default defineConfig({ projectId: 'eup7bh', e2e: { specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}', - baseUrl: 'http://localhost:3000/', + baseUrl: 'http://127.0.0.1:3000/', testIsolation: false, setupNodeEvents(on, config) { task(on, config); diff --git a/vite.config.ts b/vite.config.ts index ee98c8aa..4e695b0a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -17,7 +17,7 @@ export default defineConfig({ cypress: true, }), ], - server: { port: 3000 }, + server: { host: '127.0.0.1', port: 3000 }, build: { target: 'esnext', rollupOptions: {