Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-mall
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
前端-吴智勇
jinfa-mall
Commits
51235194
Commit
51235194
authored
Mar 04, 2022
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改配置文件
parent
938707e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
run.js
scripts/run.js
+2
-0
setEnvConfig.js
scripts/setEnvConfig.js
+2
-1
No files found.
scripts/run.js
View file @
51235194
...
@@ -9,6 +9,7 @@ if (PRO_ENV) {
...
@@ -9,6 +9,7 @@ if (PRO_ENV) {
process
.
env
.
USE_ROUTE_CONFIG
=
envValue
[
PRO_ENV
].
USE_ROUTE_CONFIG
process
.
env
.
USE_ROUTE_CONFIG
=
envValue
[
PRO_ENV
].
USE_ROUTE_CONFIG
process
.
env
.
SOCKET_URL
=
envValue
[
PRO_ENV
].
SOCKET_URL
process
.
env
.
SOCKET_URL
=
envValue
[
PRO_ENV
].
SOCKET_URL
process
.
env
.
MEMBER_URL
=
envValue
[
PRO_ENV
].
MEMBER_URL
process
.
env
.
MEMBER_URL
=
envValue
[
PRO_ENV
].
MEMBER_URL
process
.
env
.
SINGLE_SRM
=
envValue
[
PRO_ENV
].
SINGLE_SRM
}
}
writeEnvConfig
()
writeEnvConfig
()
\ No newline at end of file
scripts/setEnvConfig.js
View file @
51235194
...
@@ -18,7 +18,8 @@ async function writeEnvConfig () {
...
@@ -18,7 +18,8 @@ async function writeEnvConfig () {
SITE_ID:
${
process
.
env
.
SITE_ID
}
,
SITE_ID:
${
process
.
env
.
SITE_ID
}
,
BACK_GATEWAY: "
${
process
.
env
.
BACK_GATEWAY
}
",
BACK_GATEWAY: "
${
process
.
env
.
BACK_GATEWAY
}
",
SOCKET_URL: "
${
process
.
env
.
SOCKET_URL
}
",
SOCKET_URL: "
${
process
.
env
.
SOCKET_URL
}
",
MEMBER_URL: "
${
process
.
env
.
MEMBER_URL
}
"
MEMBER_URL: "
${
process
.
env
.
MEMBER_URL
}
",
SINGLE_SRM: "
${
process
.
env
.
SINGLE_SRM
}
",
}
}
export default Config
export default Config
`
`
...
...
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