1
0
Files
unreal-outliner-control/vite.config.ts
2026-05-19 16:09:55 +10:00

17 lines
346 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
const unrealRemoteUrl = process.env.UNREAL_REMOTE_URL ?? "http://127.0.0.1:30010";
export default defineConfig({
plugins: [react()],
server: {
proxy: {
"/remote": {
target: unrealRemoteUrl,
changeOrigin: true,
},
},
},
});