feat: add API docs link button in sidebar footer

Opens Swagger UI (/docs) in a new tab. Proxies /docs and /openapi.json
in dev mode so the link works from the Vite dev server.
This commit is contained in:
2026-03-24 16:00:22 +03:00
parent ad2fd33697
commit f90cc36ebd
4 changed files with 23 additions and 14 deletions
+3 -1
View File
@@ -6,7 +6,9 @@ export default defineConfig({
plugins: [tailwindcss(), sveltekit()],
server: {
proxy: {
'/api': 'http://localhost:8420'
'/api': 'http://localhost:8420',
'/docs': 'http://localhost:8420',
'/openapi.json': 'http://localhost:8420'
}
}
});