Files
LINUX-AETHERFORGE/web/vite.config.ts
drjones 3678b199d0
Some checks failed
Test / test (push) Has been cancelled
Initial commit: AetherForge Linux (forge-mesh) v0.1.0-dev
2026-07-04 09:31:23 +00:00

30 lines
586 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import path from "path";
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
server: {
port: 5173,
proxy: {
"/api": {
target: "http://localhost:8989",
changeOrigin: true,
},
"/install.sh": {
target: "http://localhost:8989",
changeOrigin: true,
},
"/get": {
target: "http://localhost:8989",
changeOrigin: true,
},
},
},
});