mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Remove token header from angular $http
This commit is contained in:
parent
9f24f696a5
commit
ea7d7c604e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue