Browse Source

remove more beacon stuff

master
Ev Bogue 3 years ago
parent
commit
9f8817829f
  1. 8
      server.js

8
server.js

@ -16,7 +16,6 @@ if (fs.existsSync(confpath)) {
port: '8089',
wsport: '8080',
url: 'localhost',
ads: true,
author: '@Q++V5BbvWIg8B+TqtC9ZKFhetruuw+nOgxEqfjlOZI0='
}
config.fullurl = 'http://' + config.url + ':' + config.port + '/'
@ -32,7 +31,6 @@ if (process.argv[2] === 'verbose') {
}
console.log('Verbose output is ' + VERBOSE + ' run with `node server verbose` to see all output')
console.log('Advertisements are ' + config.ads)
// log messages
@ -80,12 +78,6 @@ function printFeedIdentical (msg, req) {
}
}
function printSendAd (msg, req) {
if (VERBOSE) {
console.log('sent ad ' + msg.content + ' to ' + req.requester)
}
}
// static server (8089)
var serve = require('koa-static-server')

Loading…
Cancel
Save