Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
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
pda
pda-ui
Commits
49e1d47e
Commit
49e1d47e
authored
Aug 09, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后端地址改成8123
parent
e4a8fcaf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
.env.production
.env.production
+1
-1
Dockerfile-test
Dockerfile-test
+2
-2
website.js
src/config/website.js
+1
-1
vue.config.js
vue.config.js
+1
-1
No files found.
.env.production
View file @
49e1d47e
...
...
@@ -5,4 +5,4 @@ VUE_APP_TITLE = 宝绅系统
ENV = 'production'
# 若依管理系统/生产环境
VUE_APP_BASE_API = '/p
rod
-api'
VUE_APP_BASE_API = '/p
da
-api'
Dockerfile-test
View file @
49e1d47e
...
...
@@ -6,8 +6,8 @@ RUN echo "server { \
#80 当前测试环境Nginx端口 \
listen 80; \
client_max_body_size 50M; \
location /p
rod
-api/ { \
proxy_pass http://192.168.3.91:81
00
/; \
location /p
da
-api/ { \
proxy_pass http://192.168.3.91:81
23
/; \
proxy_redirect off; \
proxy_set_header Host mes-ui; \
proxy_set_header X-Real-IP \$remote_addr; \
...
...
src/config/website.js
View file @
49e1d47e
...
...
@@ -4,7 +4,7 @@
* 全局配置文件
*/
export
default
{
reportUrl
:
'http://192.168.3.91:81
00
/ureport'
,
//test
reportUrl
:
'http://192.168.3.91:81
23
/ureport'
,
//test
// reportUrl: 'http://192.168.3.91:8111/ureport', //prod
}
vue.config.js
View file @
49e1d47e
...
...
@@ -36,7 +36,7 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://localhost:8080`,
target
:
`http://192.168.3.91:81
00
`
,
target
:
`http://192.168.3.91:81
23
`
,
// target: `http://192.168.4.122:8080`,
changeOrigin
:
true
,
pathRewrite
:
{
...
...
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