Remove token header from angular $http

This commit is contained in:
Shane Kilkelly 2017-10-02 14:44:03 +01:00
parent 9f24f696a5
commit ea7d7c604e

View file

@ -18,8 +18,8 @@ define [
"localStorage"
"ngTagsInput"
]).config ($qProvider, sixpackProvider, $httpProvider)->
if window.anonToken
$httpProvider.defaults.headers.common['x-sl-anon-token'] = window.anonToken
# if window.anonToken
# $httpProvider.defaults.headers.common['x-sl-anon-token'] = window.anonToken
$qProvider.errorOnUnhandledRejections(false)
sixpackProvider.setOptions({
debug: false