Commit 5c08fbe2 authored by xinzhedeai's avatar xinzhedeai

fix: ip port

parent 4731f9ca
......@@ -74,10 +74,10 @@ VITE_STORAGE_PREFIX=SOY_
# ============================================ old
# 开发环境 - 视频流地址
VITE_VIDEO_URL=ws://10.0.20.81:9999
VITE_VIDEO_URL=ws://192.168.2.16:9999
# 开发环境 - 所有服务接口地址
VITE_SERVICE_URL=http://10.0.20.81:9996
VITE_SERVICE_URL=http://192.168.2.16:9998
# 开发环境 - WebSocket 全局地址
VITE_WEBSOCKET_URL=ws://10.0.20.81:9996
VITE_WEBSOCKET_URL=ws://192.168.2.16:9998
......@@ -5,19 +5,21 @@ import { setupVitePlugins } from './build/plugins';
import { createViteProxy, getBuildTime } from './build/config';
// export const proxyTarget = 'http://192.168.3.248:9996';
export const proxyTarget = 'http://10.0.20.81:9996';
// export const proxyTarget = 'http://192.168.2.16:9998';
export const proxyTarget = 'http://192.168.2.16:9998';
// export const proxyTarget = 'http://192.168.1.119:9996';
// export const proxyTarget = 'http://192.168.1.119:9996';
// 视频地址
export const videdUrl = 'ws://10.0.20.81:9999';
export const videdUrl = 'ws://192.168.2.16:9999';
// 固定接口地址
export const apiUrl = 'http://10.0.20.81:9996';
export const apiUrl = 'http://192.168.2.16:9998';
// WS 地址
export const wsUrl = 'ws://10.0.20.81:9999';
export const wsUrl = 'ws://192.168.2.16:9999';
export default defineConfig(configEnv => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment