Browse Source

working on announce route

master
poikilos 7 years ago
committed by Jacob Gustafson
parent
commit
6fec390622
  1. 4
      patches/.directory
  2. 6
      webapp/server.js

4
patches/.directory

@ -0,0 +1,4 @@
[Dolphin]
Timestamp=2018,5,23,11,27,8
Version=4
ViewMode=1

6
webapp/server.js

@ -272,6 +272,12 @@ app.get('/get-players', function (req, res) {
res.send(JSON.stringify(players));
});
app.get('/announce', function (req, res) {
console.log(JSON.stringify(req));
res.setHeader('Content-Type', 'text/plain');
res.send("");
}
app.get('/', function (req, res) {
var ret = "";
ret += '<html><body style="font-family:calibri,sans">';

Loading…
Cancel
Save