This commit is contained in:
kacper 2026-03-06 22:51:19 -05:00
parent 6acf267d48
commit b7614eb3f8
4794 changed files with 1280808 additions and 1546 deletions

18
frontend/vite.config.ts Normal file
View file

@ -0,0 +1,18 @@
import { defineConfig } from "vite";
import preact from "@preact/preset-vite";
const backendUrl = process.env.VITE_BACKEND_URL || "http://localhost:8000";
export default defineConfig({
plugins: [preact()],
server: {
proxy: {
"/rtc": backendUrl,
"/health": backendUrl,
},
},
build: {
outDir: "dist",
emptyOutDir: true,
},
});