simonihmig / ember-cli-bundle-analyzer

Analyze the size and contents of your Ember app's bundles
MIT License
99 stars 2 forks source link

Redirect to URL with trailing slash #3

Closed simonihmig closed 6 years ago

simonihmig commented 7 years ago

http://localhost:4200/_analyze does not work, as relative URLs for assets are not resolved correctly, need to redirect to http://localhost:4200/_analyze/.

Same as https://github.com/ember-cli/broccoli-middleware/blob/master/lib/utils/response-header.js#L83-L91