Skip to content

Commit

Permalink
fix: dummy rootURL for production builds needs to be set
Browse files Browse the repository at this point in the history
properly sets rootURL so that the deployed gh-pages demo app works properly
  • Loading branch information
tzellman committed Feb 4, 2021
1 parent 414b0c5 commit 0e2970b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/dummy/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ module.exports = function (environment) {
}

if (environment === 'production') {
ENV.locationType = 'hash';
ENV.rootURL = '/ember-reactive-helpers/';
// here you can enable a production-specific feature
}

Expand Down

0 comments on commit 0e2970b

Please sign in to comment.