diff --git a/resources/assets/scripts/app/app.coffee b/resources/assets/scripts/app/app.coffee index 48f1369a..843a76b8 100644 --- a/resources/assets/scripts/app/app.coffee +++ b/resources/assets/scripts/app/app.coffee @@ -81,8 +81,8 @@ ponyfm.run [ ] ponyfm.config [ - '$locationProvider', '$stateProvider', 'AngularyticsProvider', '$httpProvider', '$sceDelegateProvider', 'markedProvider' - (location, state, analytics, $httpProvider, $sceDelegateProvider, markedProvider) -> + '$locationProvider', '$stateProvider', 'AngularyticsProvider', '$httpProvider', '$sceDelegateProvider', 'markedProvider', '$urlMatcherFactoryProvider' + (location, state, analytics, $httpProvider, $sceDelegateProvider, markedProvider, $urlMatcherFactoryProvider) -> if window.pfm.environment == 'local' $httpProvider.interceptors.push [ @@ -127,6 +127,7 @@ ponyfm.config [ del: (text) -> text + $urlMatcherFactoryProvider.strictMode(false) # Errors state.state 'errors-404',