feat: update frontend paths to include trailing slashes for consistency

This commit is contained in:
EmanueleAlfano
2026-02-04 14:33:09 +01:00
parent 458b074f45
commit 145a091dc3
6 changed files with 67 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ export default defineConfig({
use: {
// URL base del server (frontend servito su /badge)
baseURL: 'http://localhost:8000/badge',
baseURL: 'http://localhost:8000/',
// Rallenta le azioni per vedere cosa succede
launchOptions: {
@@ -55,7 +55,7 @@ export default defineConfig({
// Server da avviare prima dei test
webServer: {
command: 'cd .. && ./dev.sh server -d backend-mock/data/users_test.json',
url: 'http://localhost:8000',
url: 'http://localhost:8000/badge/',
reuseExistingServer: !process.env.CI,
timeout: 30000,
},