diff --git a/src/utils/config.js b/src/utils/config.js index 31ffb2d..8e657c4 100644 --- a/src/utils/config.js +++ b/src/utils/config.js @@ -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,