diff --git a/cypress.config.ts b/cypress.config.ts index a27d648b..6a512d05 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -2,7 +2,7 @@ import { defineConfig } from 'cypress'; export default defineConfig({ e2e: { - baseUrl: 'http://localhost:3000', + baseUrl: process.env.CYPRESS_BASE_URL || 'http://localhost:3000', chromeWebSecurity: false, defaultCommandTimeout: 8000, screenshotOnRunFailure: false,