Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
linweijiong
jinfa-platform
Commits
7a984fbe
Commit
7a984fbe
authored
Sep 27, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改构建脚本
parent
f1661871
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
index.js
scripts/services/index.js
+4
-1
No files found.
scripts/services/index.js
View file @
7a984fbe
...
...
@@ -19,8 +19,11 @@ const demoFetch = require('../../demo').fetchConfig
const
isDemo
=
true
const
SITE_ID
=
Number
(
process
.
env
.
SITE_ID
)
const
BACK_GATEWAY
=
process
.
env
.
BACK_GATEWAY
const
remoteUrl
=
process
.
argv
[
2
]
||
'http://10.0.0.25:8100'
const
remoteUrl
=
BACK_GATEWAY
||
process
.
argv
[
2
]
||
'http://10.0.0.25:8100'
console
.
log
(
`\n当前访问的后端url是
${
remoteUrl
}
!!!!!!`
)
const
axios
=
Axios
.
create
({
baseURL
:
remoteUrl
,
...
...
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