Authored by 李奇

配置

module.exports = {
production: {
routerPath: '/html5/2018/09/wheelSurf',
routerPath: '/html5/2018/10/wheelSurf',
domain: 'https://action.yoho.cn'
},
development: {
routerPath: '',
// domain: '//yoho-activity-platform.test3.ingress.dev.yohocorp.com'
domain: 'http://localhost:6006'
routerPath: '/test/2018/10/wheelSurf',
domain: '//yoho-activity-platform.test3.ingress.dev.yohocorp.com'
}
}[process.env.NODE_ENV || 'development']
\ No newline at end of file
... ...
... ... @@ -2,17 +2,16 @@ const currentApp = 'wheelSurf';
export default {
production: {
routerPath: {
wheelSurf: '/html5/2018/09/wheelSurf',
wheelSurf: '/html5/2018/10/wheelSurf',
},
domain: 'https://action.yoho.cn',
currentApp
},
development: {
routerPath: {
wheelSurf: '',
wheelSurf: '/test/2018/10/wheelSurf',
},
// domain: '//yoho-activity-platform.test3.ingress.dev.yohocorp.com',
domain: 'http://localhost:6006',
domain: '//yoho-activity-platform.test3.ingress.dev.yohocorp.com',
currentApp
}
}[process.env.NODE_ENV || 'development']
\ No newline at end of file
... ...