mirror of
https://github.com/woodchen-ink/nezha-dash-v1.git
synced 2025-07-18 17:41:56 +08:00
feat: 还原vite.config.ts
This commit is contained in:
parent
bd07130fe1
commit
6e4597d724
@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user