mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
17 lines
310 B
TypeScript
17 lines
310 B
TypeScript
import {defineConfig} from "vite"
|
|
import react from "@vitejs/plugin-react-swc"
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
proxy: {
|
|
"/_gomuks/websocket": {
|
|
target: "http://localhost:29325",
|
|
ws: true,
|
|
},
|
|
"/_gomuks": {
|
|
target: "http://localhost:29325",
|
|
}
|
|
},
|
|
},
|
|
})
|