Browse Source

add more to listserver to reverse engineer announce from server

master
poikilos 6 years ago
committed by Jacob Gustafson
parent
commit
a023cbc87b
  1. 4
      webapp/server.js

4
webapp/server.js

@ -281,9 +281,9 @@ app.get('/last-announce', function (req, res) {
app.get('/announce', function (req, res) { app.get('/announce', function (req, res) {
last_announce_string = JSON.stringify(req.body); last_announce_string = JSON.stringify(req.body);
console.log(last_announce_string); console.log("announce got:"+last_announce_string);
res.setHeader('Content-Type', 'text/plain'); res.setHeader('Content-Type', 'text/plain');
res.send(""); res.send();
}); });
app.get('/', function (req, res) { app.get('/', function (req, res) {

Loading…
Cancel
Save