codex-proxy / web /vite.config.ts
icebear0828
refactor: remove dead code, unused config, and fix type violations
50ae780
raw
history blame
415 Bytes
import { defineConfig } from "vite";
import preact from "@preact/preset-vite";
export default defineConfig({
plugins: [preact()],
build: {
outDir: "../public",
emptyOutDir: true,
},
server: {
port: 5173,
proxy: {
"/v1": "http://localhost:8080",
"/auth": "http://localhost:8080",
"/health": "http://localhost:8080",
"/debug": "http://localhost:8080",
},
},
});