Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
69ab34a7
Commit
69ab34a7
authored
Mar 03, 2023
by
wenyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整dev环境接口地址
parent
45eff9fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
environments/environment.ts
+6
-6
No files found.
environments/environment.ts
View file @
69ab34a7
const
dev
=
{
const
dev
=
{
base_url
:
'https://mdev.
zuihuibi
.cn'
,
base_url
:
'https://mdev.
anjibao
.cn'
,
api_url
:
'https://mdev.
zuihuibi.cn/a
pi'
,
api_url
:
'https://mdev.
anjibao.cn/cffpA
pi'
,
cffp_url
:
'https://mdev.
zuihuibi.cn/a
pi/cffp'
cffp_url
:
'https://mdev.
anjibao.cn/cffpA
pi/cffp'
}
}
const
stage
=
{
const
stage
=
{
base_url
:
'https://mstage.zuihuibi.cn'
,
base_url
:
'https://mstage.zuihuibi.cn'
,
api_url
:
'https://mstage.zuihuibi.cn/
a
pi'
,
api_url
:
'https://mstage.zuihuibi.cn/
cffpA
pi'
,
cffp_url
:
'https://mstage.zuihuibi.cn/
a
pi/cffp'
cffp_url
:
'https://mstage.zuihuibi.cn/
cffpA
pi/cffp'
}
}
const
prod
=
{
const
prod
=
{
base_url
:
'https://m.cffp.org.cn'
,
base_url
:
'https://m.cffp.org.cn'
,
...
@@ -19,7 +19,7 @@ const config = {
...
@@ -19,7 +19,7 @@ const config = {
stage
,
stage
,
prod
prod
}
}
let
env
=
'
prod
'
;
let
env
=
'
dev
'
;
// if (process.env.NODE_ENV === 'development') {
// if (process.env.NODE_ENV === 'development') {
// env = 'dev';
// env = 'dev';
// }else if (process.env.NODE_ENV === 'production') {
// }else if (process.env.NODE_ENV === 'production') {
...
...
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