Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
config_repository
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
config_repository
Commits
d587cce5
Commit
d587cce5
authored
Jan 20, 2018
by
wentao.suo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit app-config https -> http
parent
8bc41177
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
app-backend.js
nodejs/app-backend.js
+7
-7
op-api.js
nodejs/op-api.js
+1
-1
No files found.
nodejs/app-backend.js
View file @
d587cce5
...
@@ -5,7 +5,7 @@ var db = 'db'
...
@@ -5,7 +5,7 @@ var db = 'db'
module
.
exports
=
{
module
.
exports
=
{
ip
:
process
.
env
.
OPENSHIFT_NODEJS_IP
||
process
.
env
.
IP
||
undefined
,
ip
:
process
.
env
.
OPENSHIFT_NODEJS_IP
||
process
.
env
.
IP
||
undefined
,
port
:
80
,
port
:
80
,
hostname
:
'
http
s
://sappbackend.domain.com
'
,
hostname
:
'
http://sappbackend.domain.com
'
,
secrets
:
{
secrets
:
{
session
:
process
.
env
.
SECRETS_SESSION
||
'
xyqb-app-api-prod-0.0.1
'
session
:
process
.
env
.
SECRETS_SESSION
||
'
xyqb-app-api-prod-0.0.1
'
},
},
...
@@ -107,7 +107,7 @@ module.exports = {
...
@@ -107,7 +107,7 @@ module.exports = {
},
},
activities
:
{
activities
:
{
repaymentLottery
:
{
repaymentLottery
:
{
url
:
'
http
s
://wechat.domain.com/turntable.html
'
url
:
'
http://wechat.domain.com/turntable.html
'
},
},
redEnvelop
:
{
redEnvelop
:
{
startAt
:
'
2016-03-15
'
,
startAt
:
'
2016-03-15
'
,
...
@@ -127,18 +127,18 @@ module.exports = {
...
@@ -127,18 +127,18 @@ module.exports = {
}
}
},
},
loanProcess
:
{
loanProcess
:
{
h5Host
:
'
http
s
://m.domain.com
'
h5Host
:
'
http://m.domain.com
'
},
},
blanknote
:
{
blanknote
:
{
h5Host
:
'
http
s
://bt.domain.com
'
h5Host
:
'
http://bt.domain.com
'
},
},
mallH5Host
:
'
http
s
://new-mall.domain.com
'
,
mallH5Host
:
'
http://new-mall.domain.com
'
,
activity
:
{
activity
:
{
h5Host
:
'
http
s
://activity.domain.com
'
h5Host
:
'
http://activity.domain.com
'
},
},
baseUI
:
{
baseUI
:
{
host
:
'
http
s
://h5.domain.com
'
host
:
'
http://h5.domain.com
'
},
},
rabbitMQ
:
{
rabbitMQ
:
{
host
:
redis
,
host
:
redis
,
...
...
nodejs/op-api.js
View file @
d587cce5
...
@@ -49,7 +49,7 @@ module.exports = {
...
@@ -49,7 +49,7 @@ module.exports = {
// 七牛配置
// 七牛配置
qiniu
:
{
qiniu
:
{
domain
:
'
http://op
-
api.domain.com
'
,
domain
:
'
http://opapi.domain.com
'
,
ACCESS_KEY
:
'
QyjX3i2tEMvrv50j6M_wpb9YoFJbxSm3jEkOj9lY
'
,
ACCESS_KEY
:
'
QyjX3i2tEMvrv50j6M_wpb9YoFJbxSm3jEkOj9lY
'
,
SECRET_KEY
:
'
uoMTzRLoElTAKXVzelGgTvI652zJ8bCz_qqTtoGl
'
,
SECRET_KEY
:
'
uoMTzRLoElTAKXVzelGgTvI652zJ8bCz_qqTtoGl
'
,
BUCKET
:
'
app-sync
'
,
BUCKET
:
'
app-sync
'
,
...
...
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