diff --git a/static-data/www/shared/main/torstats.js b/static-data/www/shared/main/torstats.js index 91f00162..af51f840 100644 --- a/static-data/www/shared/main/torstats.js +++ b/static-data/www/shared/main/torstats.js @@ -1,4 +1,8 @@ -var torSource = new EventSourcePolyfill("/torcircuits") +var torSource = new EventSourcePolyfill('/torcircuits', { + headers: { + "token": webpass + } + }) var displays = document.getElementsByClassName('torInfo') for (x = 0; x < displays.length; x++){