Ensure template cachebuster interceptor is only pushed on local environments

This commit is contained in:
Adam Lavin 2015-12-16 13:07:03 +00:00
parent f01fcae3af
commit f09d75cf76

View file

@ -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) ->