Commit 812f540
committed
Fix setup ember app script
Previous script changes unexpectedly.
Before;
``` diff
$ g df config/environment.js
diff --git a/config/environment.js b/config/environment.js
index 5513a9a..772ff99 100644
--- a/config/environment.js
+++ b/config/environment.js
@@ -5,7 +5,7 @@ module.exports = function (environment) {
modulePrefix: 'my-app',
environment,
rootURL: '/',
- locationType: 'auto',
+ locationType: 'hash',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
@@ -40,7 +40,7 @@ module.exports = function (environment) {
ENV.APP.LOG_VIEW_LOOKUPS = false;
ENV.APP.rootElement = '#ember-testing';
- ENV.APP.autoboot = false;
+ ENV.APP.hashboot = false;
}
if (environment === 'production') {
```
After
``` diff
diff --git a/config/environment.js b/config/environment.js
index 5513a9a..6b7495e 100644
--- a/config/environment.js
+++ b/config/environment.js
@@ -5,7 +5,7 @@ module.exports = function (environment) {
modulePrefix: 'my-app',
environment,
rootURL: '/',
- locationType: 'auto',
+ locationType: 'hash',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
```1 parent 6508be5 commit 812f540
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments