Authored by 郭成尧

Merge branch 'qCloud' of git.yoho.cn:fe/yohobuywap-node into qCloud

... ... @@ -18,7 +18,7 @@ app.on('mount', function(parent) {
Object.assign(app.locals, parent.locals);
});
app.use(global.yoho.hbs({
app.engine('.hbs', hbs({
extname: '.hbs',
defaultLayout: 'layout',
layoutsDir: doraemon,
... ...
... ... @@ -17,10 +17,10 @@ module.exports = {
siteUrl: '//m.yohobuy.com',
assetUrl: '//localhost:5001',
domains: {
api: 'http://api.yoho.cn/',
api: 'http://api.yoho.cn/',
service: 'http://service.yoho.cn/',
liveApi: 'http://api.live.yoho.cn/',
singleApi: 'http://single.yoho.cn/'
singleApi: 'http://single.yoho.cn/'
// api: 'http://api-test1.yohops.com:9999/',
// service: 'http://service-test1.yohops.com:9999/',
... ... @@ -70,7 +70,7 @@ module.exports = {
port: 4444 // influxdb port
},
console: {
level: 'info',
level: isProduction ? 'error' : 'info',
colorize: 'all',
prettyPrint: true
}
... ...