We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38585c4 commit 8dd7cc8Copy full SHA for 8dd7cc8
config/environment.js
@@ -28,7 +28,7 @@ module.exports = function(environment) {
28
},
29
30
APP: {
31
- apiHost : process.env.API_HOST || 'https://api.eventyay.com',
+ apiHost : process.env.API_HOST || (environment === 'production' ? 'https://api.eventyay.com' : 'https://open-event-api-dev.herokuapp.com'),
32
apiNamespace : process.env.API_NAMESPACE || 'v1'
33
34
0 commit comments