clean routes

This commit is contained in:
2026-01-03 02:42:47 +01:00
parent 07985fb8f1
commit 2f21dc4595
107 changed files with 7596 additions and 3401 deletions

View File

@@ -29,7 +29,7 @@ export default defineConfig({
// Base URL for the website
use: {
baseURL: process.env.DOCKER_SMOKE ? 'http://localhost:3100' : 'http://localhost:3000',
baseURL: 'http://localhost:3000',
screenshot: 'only-on-failure',
video: 'retain-on-failure',
trace: 'retain-on-failure',
@@ -45,16 +45,18 @@ export default defineConfig({
retries: 0,
// Web server configuration
// - Default: start Next dev server locally
// - Docker smoke: website is started via docker-compose, so skip webServer
webServer: process.env.DOCKER_SMOKE
? undefined
: {
command: 'npm run dev -w @gridpilot/website',
url: 'http://localhost:3000',
timeout: 120_000,
reuseExistingServer: !process.env.CI,
},
// Always start Next dev server locally (works on all architectures)
// API calls will be proxied to Docker API at localhost:3101
webServer: {
command: 'npm run dev -w @gridpilot/website',
url: 'http://localhost:3000',
timeout: 120_000,
reuseExistingServer: !process.env.CI,
env: {
NEXT_PUBLIC_API_BASE_URL: 'http://localhost:3101',
API_BASE_URL: 'http://localhost:3101',
},
},
// Browser projects
projects: [