1
0
Fork 0
forked from Mirrors/gomuks
nyxmuks/web/vite.config.ts
2024-10-10 02:03:01 +03:00

17 lines
313 B
TypeScript

import react from "@vitejs/plugin-react-swc"
import { defineConfig } from "vite"
export default defineConfig({
plugins: [react()],
server: {
proxy: {
"/_gomuks/websocket": {
target: "http://localhost:29325",
ws: true,
},
"/_gomuks": {
target: "http://localhost:29325",
},
},
},
})