update
This commit is contained in:
parent
84953056f7
commit
f54cca85de
@ -4,12 +4,12 @@ const ENV = process.env.NODE_ENV || 'development';
|
||||
// API 基础地址配置
|
||||
const API_BASE_URL = {
|
||||
development: 'http://localhost:8000',
|
||||
test: 'https://api-dev.beefast.co',
|
||||
testing: 'https://api-dev.beefast.co',
|
||||
production: 'https://api.beefast.co'
|
||||
};
|
||||
|
||||
// 当前环境的 API 基础地址
|
||||
const BASE_URL = API_BASE_URL[ENV === 'production' ? 'production' : ENV === 'test' ? 'test' : 'development'];
|
||||
const BASE_URL = API_BASE_URL[ENV === 'production' ? 'production' : ENV === 'testing' ? 'testing' : 'development'];
|
||||
|
||||
export default {
|
||||
BASE_URL,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user