1234567891011 |
- const ENV_API_URL = {
- development: {
- url: 'http://192.168.0.63/wx-api/api',
- imgUrl: 'http://192.168.0.63/static/wxa/'
- },
- production: {
- url: 'http://192.168.0.63/wx-api/api',
- imgUrl: 'http://192.168.0.63/static/wxa/'
- },
- }
- export const BASE_URL = ENV_API_URL[process.env.NODE_ENV || 'development'];
|