Fix: do not link assets with absolut paths to support serving from subdirectory

Bug introduced by 632c36eb12
This commit is contained in:
jelhan 2017-08-31 16:12:45 +02:00
parent f41d8ebea0
commit 2ac3bfacdb

View file

@ -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';