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
+1 -1
View File
@@ -23,7 +23,7 @@ export class AppConfig {
KEYS_DIR: string = "keys";
@IsString()
DB_PATH: string = "data/sessions.db";
DB_PATH: string = "data/liqa.db";
@IsInt()
@Min(1)