Skip to content

Commit

Permalink
Fix: do not link assets with absolut paths to support serving from su…
Browse files Browse the repository at this point in the history
…bdirectory

Bug introduced by 632c36e
  • Loading branch information
jelhan committed Aug 31, 2017
1 parent f41d8eb commit 2ac3bfa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -44,6 +44,8 @@ module.exports = function(environment) {
};

if (environment === 'test') {
ENV.rootURL = '/';

// Testem prefers this...
ENV.locationType = 'hash';

Expand Down

0 comments on commit 2ac3bfa

Please sign in to comment.