mirror of
https://github.com/aelve/guide.git
synced 2024-11-22 11:33:34 +03:00
Front: config api url can be set through enviroment variable
This commit is contained in:
parent
5ad730606d
commit
7ea7618c82
@ -1,4 +1,6 @@
|
||||
const { API_URL, PORT } = process.env
|
||||
|
||||
export default {
|
||||
apiUrl: 'https://staging.guide.aelve.com:4400/',
|
||||
port: process.env.PORT || 5000
|
||||
apiUrl: API_URL || 'https://staging.guide.aelve.com:4400/',
|
||||
port: PORT || 5000
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user