Spaces:
Build error
Build error
File size: 534 Bytes
5285b72 edd44de 5285b72 edd44de 5285b72 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
import { vitePlugin as remix } from "@remix-run/dev"
import { defineConfig } from "vite"
import tsconfigPaths from "vite-tsconfig-paths"
export default defineConfig({
server: {
proxy: {
"/graphql": {
target: "http://127.0.0.1:7860",
changeOrigin: false,
},
"/ws/graphql": {
target: "ws://127.0.0.1:7860",
changeOrigin: false,
ws: true,
},
},
},
plugins: [
remix({
appDirectory: "frontend",
ssr: false,
}),
tsconfigPaths(),
],
})
|