1
0
forked from baron/baron-sso
Files
baron-sso/devfront/vite.config.ts
2026-02-10 19:16:13 +09:00

17 lines
384 B
TypeScript

import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
host: "0.0.0.0", // Ensure binding to all interfaces
proxy: {
"/api": {
target: process.env.API_PROXY_TARGET || "http://localhost:3000",
changeOrigin: true,
},
},
},
});