We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8daa3 commit 587b6e6Copy full SHA for 587b6e6
server.js
@@ -252,7 +252,7 @@ class Server extends EventEmitter {
252
res.setHeader('Content-Type', 'application/json')
253
res.end(JSON.stringify(stats))
254
} else if (req.url === '/stats') {
255
- res.setHeader('Content-Type', 'text/html');
+ res.setHeader('Content-Type', 'text/html')
256
res.end(`
257
<h1>${stats.torrents} torrents (${stats.activeTorrents} active)</h1>
258
<h2>Connected Peers: ${stats.peersAll}</h2>
0 commit comments