Skip to content

Commit 2ac3bfa

Browse files
committedAug 31, 2017
Fix: do not link assets with absolut paths to support serving from subdirectory
Bug introduced by 632c36e
1 parent f41d8eb commit 2ac3bfa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎config/environment.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = function(environment) {
66
modulePrefix: 'croodle',
77
environment: environment,
88
locationType: 'hash',
9-
rootURL: '/',
9+
rootURL: '',
1010

1111
APP: {
1212
// Here you can pass flags/options to your application instance
@@ -44,6 +44,8 @@ module.exports = function(environment) {
4444
};
4545

4646
if (environment === 'test') {
47+
ENV.rootURL = '/';
48+
4749
// Testem prefers this...
4850
ENV.locationType = 'hash';
4951

0 commit comments

Comments
 (0)