use webpass in torstats

This commit is contained in:
Kevin Froman 2020-01-29 14:21:12 -06:00
parent 7f8aa64fa4
commit cb108cb990

View File

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