refactor(api): version routes and externalize client base url

- serve REST endpoints under /api/v1 with root exceptions for health and mcp

- move swagger UI to /docs and allow direct frontend calls via CORS

- remove Vite proxy/hash routing and rely on env-driven VITE_API_URL
This commit is contained in:
2026-04-10 22:53:32 +03:00
parent ccce3381c1
commit 11db983ea6
7 changed files with 38 additions and 19 deletions
-9
View File
@@ -68,15 +68,6 @@ export default defineConfig({
},
},
},
server: {
proxy: {
'/environments': 'http://localhost:13000',
'/credentials': 'http://localhost:13000',
'/snippets': 'http://localhost:13000',
'/sessions': 'http://localhost:13000',
'/scenarios': 'http://localhost:13000',
},
},
test: {
projects: [{
extends: true,