From e36dd532d46fb7b179687804ec2423dad682ec9c Mon Sep 17 00:00:00 2001 From: aaron <> Date: Sat, 1 Mar 2025 22:25:28 +0800 Subject: [PATCH] 1 --- src/services/config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/services/config.js b/src/services/config.js index 20919fb..f6cfd07 100644 --- a/src/services/config.js +++ b/src/services/config.js @@ -1,13 +1,13 @@ const env = { - development: { + local: { API_URL: 'http://localhost:8000' }, - testing: { - API_URL: process.env.VUE_APP_API_URL || 'https://api-dev.beefast.co' + dev: { + API_URL: 'https://api-dev.beefast.co' }, - production: { - API_URL: process.env.VUE_APP_API_URL || 'https://api.beefast.co' + prd: { + API_URL: 'https://api.beefast.co' } } - export default env[process.env.NODE_ENV || 'development'] \ No newline at end of file + export default env[process.env.APP_ENV || 'local'] \ No newline at end of file