feat: one gateway port with path-mounted frontends, markdown chat, collapsible sidebars

This commit is contained in:
hh
2026-08-29 00:49:06 +02:00
parent 3ca5843868
commit 932a7a80af
32 changed files with 691 additions and 441 deletions
+3 -4
View File
@@ -3,8 +3,7 @@ import { sveltekit } from "@sveltejs/kit/vite";
import tailwindcss from "@tailwindcss/vite";
import { defineConfig } from "vite";
const adminOrigin = process.env.ADMIN_ORIGIN ?? "http://127.0.0.1:62992";
const apiOrigin = process.env.API_ORIGIN ?? "http://127.0.0.1:62994";
const gatewayOrigin = process.env.GATEWAY_ORIGIN ?? "http://127.0.0.1:62990";
export default defineConfig({
plugins: [
@@ -22,8 +21,8 @@ export default defineConfig({
],
server: {
proxy: {
"/admin/auth": adminOrigin,
"/api": apiOrigin,
"/admin/auth": gatewayOrigin,
"/api": gatewayOrigin,
},
},
});