fix: friendly syntax
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
const {
|
||||
// api url (where your server is hosted at)
|
||||
REACT_APP_BACKEND_URL: BACKEND_URL = 'http://localhost:8080',
|
||||
} = process.env
|
||||
const BACKEND_URL = process.env.REACT_APP_BACKEND_URL || 'http://localhost:8080'
|
||||
|
||||
export {
|
||||
BACKEND_URL,
|
||||
|
||||
Reference in New Issue
Block a user