Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
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
方斌
51business
Commits
e7dc2c31
Commit
e7dc2c31
authored
Sep 20, 2019
by
李尚科
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
d143fa57
Pipeline
#14010
passed with stage
in 13 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
config.local.js
config/config.local.js
+2
-2
config.prod.js
config/config.prod.js
+5
-0
No files found.
config/config.local.js
View file @
e7dc2c31
...
@@ -17,8 +17,8 @@ module.exports = appInfo => {
...
@@ -17,8 +17,8 @@ module.exports = appInfo => {
domainWhiteList
:
[],
domainWhiteList
:
[],
};
};
//
config.middleware = [ 'errorHandler', 'deviceLogin', 'deviceInit', 'responseSet' ];
config
.
middleware
=
[
'errorHandler'
,
'deviceLogin'
,
'deviceInit'
,
'responseSet'
];
config
.
middleware
=
[];
//
config.middleware = [];
exports
.
multipart
=
{
exports
.
multipart
=
{
// 不用steam用file
// 不用steam用file
...
...
config/config.prod.js
View file @
e7dc2c31
...
@@ -142,6 +142,11 @@ module.exports = appInfo => {
...
@@ -142,6 +142,11 @@ module.exports = appInfo => {
config
.
SHUHEMOFANG_APP_SECRET
=
process
.
env
.
SHUHEMOFANG_APP_SECRET
;
config
.
SHUHEMOFANG_APP_SECRET
=
process
.
env
.
SHUHEMOFANG_APP_SECRET
;
config
.
SHUHEMOFANG_URL
=
process
.
env
.
SHUHEMOFANG_URL
;
config
.
SHUHEMOFANG_URL
=
process
.
env
.
SHUHEMOFANG_URL
;
// 腾讯位置服务
config
.
TX_LBS_KEY
=
process
.
env
.
TX_LBS_KEY
;
config
.
TX_LBS_DISTANCE_URL
=
process
.
env
.
TX_LBS_DISTANCE_URL
;
// 距离计算(一对多)
config
.
TX_LBS_ADDRESS_URL
=
process
.
env
.
TX_LBS_ADDRESS_URL
;
// 地址解析;逆地址解析
return
config
;
return
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