use webpass in torstats

master
Kevin Froman 2020-01-29 14:21:12 -06:00
parent 7f8aa64fa4
commit cb108cb990
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,8 @@
var torSource = new EventSourcePolyfill("/torcircuits") var torSource = new EventSourcePolyfill('/torcircuits', {
headers: {
"token": webpass
}
})
var displays = document.getElementsByClassName('torInfo') var displays = document.getElementsByClassName('torInfo')
for (x = 0; x < displays.length; x++){ for (x = 0; x < displays.length; x++){