File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff 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' ;
You can’t perform that action at this time.
0 commit comments