Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
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
Administrator
bkunyun
Commits
de9e02be
Commit
de9e02be
authored
Jun 10, 2022
by
wuyongsheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rele-nginx' into 'release'
fix: console See merge request
sunyihao/bkunyun!26
parents
16829c47
0132e94f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
build-dev-en.js
scripts/build-dev-en.js
+11
-4
api_prefix.ts
src/api/api_prefix.ts
+2
-2
No files found.
scripts/build-dev-en.js
View file @
de9e02be
const
build
=
require
(
"./build"
)
process
.
env
.
REACT_APP_ENV
=
'dev-en'
;
build
()
\ No newline at end of file
/*
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-06-10 10:18:28
* @LastEditors: 吴永生#A02208 yongsheng.wu@wholion.com
* @LastEditTime: 2022-06-10 11:17:10
* @FilePath: /bkunyun/scripts/build-dev-en.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
const
build
=
require
(
"./build"
);
process
.
env
.
REACT_APP_ENV
=
"dev-en"
;
build
();
src/api/api_prefix.ts
View file @
de9e02be
...
...
@@ -2,7 +2,7 @@
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-05-31 10:17:48
* @LastEditors: 吴永生#A02208 yongsheng.wu@wholion.com
* @LastEditTime: 2022-06-
01 16:57:23
* @LastEditTime: 2022-06-
10 11:16:16
* @FilePath: /bkunyun/src/api/api_prefix.ts
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -11,7 +11,7 @@
// const PRIVATIZATION_API_URI_PREFIX = process.env.NODE_ENV === 'development' ? "http://123.57.131.31" : "";
let
BACKEND_API_URI_PREFIX
=
""
;
console
.
log
(
'process.env.REACT_APP_ENV: '
,
process
.
env
.
REACT_APP_ENV
)
console
.
log
(
'process.env.REACT_APP_ENV:
11313
'
,
process
.
env
.
REACT_APP_ENV
)
switch
(
process
.
env
.
REACT_APP_ENV
)
{
case
"dev-cn"
:
BACKEND_API_URI_PREFIX
=
"http://47.57.4.97"
;
...
...
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