Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AI推理平台
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lichunliang
AI推理平台
Commits
5c08fbe2
Commit
5c08fbe2
authored
Feb 14, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: ip port
parent
4731f9ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
.env
.env
+3
-3
vite.config.ts
vite.config.ts
+6
-4
No files found.
.env
View file @
5c08fbe2
...
...
@@ -74,10 +74,10 @@ VITE_STORAGE_PREFIX=SOY_
# ============================================ old
# 开发环境 - 视频流地址
VITE_VIDEO_URL=ws://1
0.0.20.81
:9999
VITE_VIDEO_URL=ws://1
92.168.2.16
:9999
# 开发环境 - 所有服务接口地址
VITE_SERVICE_URL=http://1
0.0.20.81:9996
VITE_SERVICE_URL=http://1
92.168.2.16:9998
# 开发环境 - WebSocket 全局地址
VITE_WEBSOCKET_URL=ws://1
0.0.20.81:9996
VITE_WEBSOCKET_URL=ws://1
92.168.2.16:9998
vite.config.ts
View file @
5c08fbe2
...
...
@@ -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://1
0.0.20.81
:9999
'
;
export
const
videdUrl
=
'
ws://1
92.168.2.16
:9999
'
;
// 固定接口地址
export
const
apiUrl
=
'
http://1
0.0.20.81:9996
'
;
export
const
apiUrl
=
'
http://1
92.168.2.16:9998
'
;
// WS 地址
export
const
wsUrl
=
'
ws://1
0.0.20.81
:9999
'
;
export
const
wsUrl
=
'
ws://1
92.168.2.16
:9999
'
;
export
default
defineConfig
(
configEnv
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment