Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
text2video-frontend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
周成波
text2video-frontend
Commits
6abea2ce
Commit
6abea2ce
authored
Apr 30, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
975e848f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vite.config.ts
vite.config.ts
+3
-1
No files found.
vite.config.ts
View file @
6abea2ce
...
@@ -26,7 +26,9 @@ export default defineConfig({
...
@@ -26,7 +26,9 @@ export default defineConfig({
server
:
{
server
:
{
proxy
:
{
proxy
:
{
'/api/'
:
{
'/api/'
:
{
target
:
'http://127.0.0.1:5001/'
,
// 后端服务实际地址
// target: 'http://127.0.0.1:5001/', // 本机后端服务
target
:
'http://wm-tools-backend.frp.wmdigit.com:8888/'
,
// new3090后端服务
// target: 'http://wm-tools-backend-test.frp.wmdigit.com:8888/', // 4090-1测试后端服务
changeOrigin
:
true
,
changeOrigin
:
true
,
rewrite
:
(
path
:
any
)
=>
path
.
replace
(
/^
\/
api/
,
''
)
rewrite
:
(
path
:
any
)
=>
path
.
replace
(
/^
\/
api/
,
''
)
}
}
...
...
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