123456789101112131415 |
- const baseUrl = process.env.NODE_ENV === 'development' ? '' : ''
- const config = {
- baseUrl,
- apiBaseUrl: baseUrl + '/api/',
- uploadUrl: 'upload',
- httpDefaultOption: {
- showLoading: true,
- showErrorMsg: true,
- isAuth: true,
- },
- defaultErrorImg: ''
- }
- export default config
|