feat: 还原vite.config.ts

This commit is contained in:
Forget 2024-12-17 18:11:44 +08:00
parent bd07130fe1
commit 6e4597d724

View File

@ -28,12 +28,12 @@ export default defineConfig({
server: { server: {
proxy: { proxy: {
"/api/v1/ws/server": { "/api/v1/ws/server": {
target: "ws://192.168.5.20:8008", target: "ws://localhost:8008",
changeOrigin: true, changeOrigin: true,
ws: true, ws: true,
}, },
"/api/v1/": { "/api/v1/": {
target: "http://192.168.5.20:8008", target: "http://localhost:8008",
changeOrigin: true, changeOrigin: true,
}, },
}, },