Phase 2: Docker and OIDC auth

This commit is contained in:
2026-05-04 13:50:53 +02:00
parent 47baee854b
commit 4226628d5a
71 changed files with 9722 additions and 1347 deletions
+19 -8
View File
@@ -1,12 +1,23 @@
import { defineConfig } from "vite";
import { defineConfig, loadEnv } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [react(), tailwindcss()],
server: {
proxy: {
"/api": "http://localhost:8000",
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), "");
const proxyTarget =
process.env.VITE_DEV_API_PROXY_TARGET ||
env.VITE_DEV_API_PROXY_TARGET ||
"http://localhost:8000";
return {
plugins: [react()],
server: {
proxy: {
"/api": {
target: proxyTarget,
changeOrigin: true,
secure: false,
},
},
},
},
};
});