Skip to content

Commit e856af9

Browse files
committed
Update environment.js for data qa environment fixes
1 parent 20e4df1 commit e856af9

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

config/environment.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ module.exports = function(environment) {
2828
},
2929

3030
'ember-mapbox-composer': {
31-
host: 'https://layers-api-staging.planninglabs.nyc',
31+
host: HOST,
3232
namespace: 'v1',
3333
},
3434

3535
'mapbox-gl': {
3636
accessToken: '',
3737
map: {
38-
style: 'https://layers-api-staging.planninglabs.nyc/v1/base/style.json',
38+
style: `${HOST}/style.json`,
3939
},
4040
},
4141

@@ -102,18 +102,6 @@ module.exports = function(environment) {
102102
ENV.APP.autoboot = false;
103103
}
104104

105-
if (environment === 'staging') {
106-
// here you can enable a staging-specific feature
107-
ENV['carto-username'] = 'dcpadmin';
108-
}
109-
110-
if (environment === 'production') {
111-
ENV.host = 'https://layers-api.planninglabs.nyc';
112-
ENV['mapbox-gl'].map.style = 'https://layers-api.planninglabs.nyc/v1/base/style.json';
113-
ENV['ember-mapbox-composer'] = {
114-
host: 'https://layers-api.planninglabs.nyc',
115-
};
116-
}
117105

118106
if (environment === 'devlocal') {
119107
ENV.host = 'http://localhost:3000';

0 commit comments

Comments
 (0)