mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-06 05:30:07 +00:00
feat: 优化注入代码执行顺序 添加自定义注入标识
This commit is contained in:
@@ -28,12 +28,12 @@ export default defineConfig({
|
||||
server: {
|
||||
proxy: {
|
||||
"/api/v1/ws/server": {
|
||||
target: "ws://localhost:8008",
|
||||
target: "ws://192.168.5.20:8008",
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
},
|
||||
"/api/v1/": {
|
||||
target: "http://localhost:8008",
|
||||
target: "http://192.168.5.20:8008",
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user