mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Fix for #120 ignore trailing slash
This commit is contained in:
parent
2de284963e
commit
fb50ef06ab
1 changed files with 3 additions and 2 deletions
|
@ -81,8 +81,8 @@ ponyfm.run [
|
||||||
]
|
]
|
||||||
|
|
||||||
ponyfm.config [
|
ponyfm.config [
|
||||||
'$locationProvider', '$stateProvider', 'AngularyticsProvider', '$httpProvider', '$sceDelegateProvider', 'markedProvider'
|
'$locationProvider', '$stateProvider', 'AngularyticsProvider', '$httpProvider', '$sceDelegateProvider', 'markedProvider', '$urlMatcherFactoryProvider'
|
||||||
(location, state, analytics, $httpProvider, $sceDelegateProvider, markedProvider) ->
|
(location, state, analytics, $httpProvider, $sceDelegateProvider, markedProvider, $urlMatcherFactoryProvider) ->
|
||||||
|
|
||||||
if window.pfm.environment == 'local'
|
if window.pfm.environment == 'local'
|
||||||
$httpProvider.interceptors.push [
|
$httpProvider.interceptors.push [
|
||||||
|
@ -127,6 +127,7 @@ ponyfm.config [
|
||||||
del: (text) ->
|
del: (text) ->
|
||||||
text
|
text
|
||||||
|
|
||||||
|
$urlMatcherFactoryProvider.strictMode(false)
|
||||||
|
|
||||||
# Errors
|
# Errors
|
||||||
state.state 'errors-404',
|
state.state 'errors-404',
|
||||||
|
|
Loading…
Reference in a new issue