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

11 lines
176 B
JavaScript
Raw Normal View History

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