1
1
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:
Avele 2019-04-19 15:44:46 +04:00
parent 5ad730606d
commit 7ea7618c82

View File

@ -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
}