mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-03-30 15:57:46 +02:00
Ensure template cachebuster interceptor is only pushed on local environments
This commit is contained in:
parent
f01fcae3af
commit
f09d75cf76
1 changed files with 8 additions and 7 deletions
|
@ -29,6 +29,7 @@ module.config [
|
|||
'$locationProvider', '$stateProvider', '$dialogProvider', 'AngularyticsProvider', '$httpProvider', '$sceDelegateProvider'
|
||||
(location, state, $dialogProvider, analytics, $httpProvider, $sceDelegateProvider) ->
|
||||
|
||||
if window.pfm.environment == 'local'
|
||||
$httpProvider.interceptors.push [
|
||||
->
|
||||
request: (config) ->
|
||||
|
|
Loading…
Add table
Reference in a new issue