index.js
325 Bytes
const config = {
development: {
axiosBaseUrl: '/grass',
axiosResponseType: 'json',
reportUrl: 'https://badjs.yoho.cn/apm/yas2.gif'
},
production: {
axiosBaseUrl: '/grass',
axiosResponseType: 'json',
reportUrl: '//badjs.yoho.cn/apm/yas2.gif'
}
};
export default config[process.env.NODE_ENV];