Fix: do not link assets with absolut paths to support serving from subdirectory
Bug introduced by 632c36eb12
This commit is contained in:
parent
f41d8ebea0
commit
2ac3bfacdb
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,7 @@ module.exports = function(environment) {
|
|||
modulePrefix: 'croodle',
|
||||
environment: environment,
|
||||
locationType: 'hash',
|
||||
rootURL: '/',
|
||||
rootURL: '',
|
||||
|
||||
APP: {
|
||||
// Here you can pass flags/options to your application instance
|
||||
|
@ -44,6 +44,8 @@ module.exports = function(environment) {
|
|||
};
|
||||
|
||||
if (environment === 'test') {
|
||||
ENV.rootURL = '/';
|
||||
|
||||
// Testem prefers this...
|
||||
ENV.locationType = 'hash';
|
||||
|
||||
|
|
Loading…
Reference in a new issue