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 = {
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']
export default env[process.env.APP_ENV || 'local']