Skip to content

Commit

Permalink
ENV diff
Browse files Browse the repository at this point in the history
  • Loading branch information
dpigera committed Jan 10, 2025
1 parent 9a8da2f commit b7d6197
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,10 @@ module.exports = function (environment) {
EmberENV: {
EXTEND_PROTOTYPES: false,
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. EMBER_NATIVE_DECORATOR_SUPPORT: true
},
},

APP: {
// Here you can pass flags/options to your application instance
// when it is created
},
};

Expand All @@ -26,31 +22,18 @@ module.exports = function (environment) {

if (environment === 'development') {
ENV.APP.API_HOST = 'http://localhost:3000';
ENV['ember-cli-mirage'] = {
enabled: false
};
}



if (environment === 'test') {
ENV.locationType = 'none';
ENV.APP.LOG_ACTIVE_GENERATION = false;
ENV.APP.LOG_VIEW_LOOKUPS = false;
ENV.APP.rootElement = '#ember-testing';
ENV.APP.autoboot = false;
ENV['ember-cli-mirage'] = {
enabled: false
};

}

if (environment === 'production') {
ENV.APP.API_HOST = 'https://apple-server.fly.dev';
ENV['ember-cli-mirage'] = {
enabled: false
};

ENV.APP.API_HOST = 'https://gauntlet-chatgenius-pocketbase-2.fly.dev';
}

return ENV;
Expand Down

0 comments on commit b7d6197

Please sign in to comment.