This commit is contained in:
aaron 2025-03-01 22:25:28 +08:00
parent 6c1864b51f
commit e36dd532d4

View File

@ -1,13 +1,13 @@
const env = { const env = {
development: { local: {
API_URL: 'http://localhost:8000' API_URL: 'http://localhost:8000'
}, },
testing: { dev: {
API_URL: process.env.VUE_APP_API_URL || 'https://api-dev.beefast.co' API_URL: 'https://api-dev.beefast.co'
}, },
production: { prd: {
API_URL: process.env.VUE_APP_API_URL || 'https://api.beefast.co' API_URL: 'https://api.beefast.co'
} }
} }
export default env[process.env.NODE_ENV || 'development'] export default env[process.env.APP_ENV || 'local']