This commit is contained in:
aaron 2025-03-01 22:48:47 +08:00
parent 65bfe7f692
commit 78c6651c0b

View File

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