Onionr/static-data/www/shared/main/recent.js

11 lines
176 B
JavaScript

var recentSource = new EventSourcePolyfill('/recentblocks', {
headers: {
"token": webpass
}
})
recentSource.onmessage = function(e){
console.debug(e)
}