Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mp-customer-people-recruitment-h5
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
彭佳妮(贵阳日报)
mp-customer-people-recruitment-h5
Commits
ef8e094b
Commit
ef8e094b
authored
Jul 31, 2024
by
李明环(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增环境配置文件
parent
79fd8fda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
config.js
src/utils/config.js
+12
-0
No files found.
src/utils/config.js
0 → 100644
View file @
ef8e094b
let
evn
=
{};
if
(
process
.
env
.
NODE_ENV
===
"development"
)
{
// console.log('开发环境');// 发布到生产环境时,此处代码会被摇树移除掉。
evn
.
APP_BASE_API
=
"https://lygsh-api.wjzpgz.com/"
;
evn
.
APP_IMAGE_BASE_API
=
"https://lygsh-image.wjzpgz.com/"
;
}
else
{
// console.log('生产环境');
evn
.
APP_BASE_API
=
"https://lygsh-api.wjzpgz.com/"
;
evn
.
APP_IMAGE_BASE_API
=
"https://lygsh-image.wjzpgz.com/"
;
}
export
default
evn
;
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