configure.js
530 Bytes
//接口主域
var env = process.env.NODE_ENV || 'development';
// exports.domain = 'http://192.168.102.205:18025';
var domain = {
development: 'http://localhost:30011',
test: 'http://192.168.102.205:18025/yoho-adminportal-web',
preview: 'http://192.168.81.13:8189/yoho-admin-portal',
production: 'http://192.168.81.6:8189/yoho-admin-portal'
};
exports.domain = domain[env];
exports.res = [{
route: '/configure',
method: 'POST',
src: '/configure/list',
isJsonRaw: true
}];