Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
8 years ago
Commit
8311d2a395446e09bc6fbb3fe71a2b41f130d6ea
1 parent
0e9dddf1
update api
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
config/common.js
config/common.js
View file @
8311d2a
...
...
@@ -17,13 +17,13 @@ module.exports = {
cookieDomain
:
'.yohobuy.com'
,
domains
:
{
// test3
//singleApi: 'http://api-test3.yohops.com:9999/',
//api: 'http://api-test3.yohops.com:9999/',
//service: 'http://service-test3.yohops.com:9999/',
singleApi
:
'http://api-test3.yohops.com:9999/'
,
api
:
'http://api-test3.yohops.com:9999/'
,
service
:
'http://service-test3.yohops.com:9999/'
,
singleApi
:
'http://single.yohops.com/'
,
api
:
'http://api.yoho.cn/'
,
service
:
'http://service.yoho.cn/'
,
//singleApi: 'http://single.yohops.com/',
//api: 'http://api.yoho.cn/',
//service: 'http://service.yoho.cn/',
// api: 'http://dev-api.yohops.com:9999/',
// service: 'http://dev-service.yohops.com:9999/',
...
...
@@ -150,7 +150,7 @@ if (isProduction) {
Object
.
assign
(
module
.
exports
,
{
appName
:
'www.yohobuy.com for test'
,
domains
:
{
favApi
:
'http://192.168.102.31:8092/brower'
,
singleApi
:
process
.
env
.
TEST_API
||
'http://192.168.102.31:8092/brower'
,
api
:
process
.
env
.
TEST_API
||
'http://testapi.yoho.cn:28078/'
,
service
:
process
.
env
.
TEST_SERVICE
||
'http://testservice.yoho.cn:28077/'
,
search
:
process
.
env
.
TEST_SEARCH
||
'http://192.168.102.216:8080/yohosearch/'
,
...
...
Please
register
or
login
to post a comment