Commit f884644a authored by 不如归去's avatar 不如归去 Committed by GitHub

Fix

parent c120e499
...@@ -320,6 +320,7 @@ let matchResponse = function(req, res) { ...@@ -320,6 +320,7 @@ let matchResponse = function(req, res) {
if (playingPlayerPool.has(username)) { if (playingPlayerPool.has(username)) {
res.writeHead(200, {'Content-Type': 'application/json', 'Cache-Control': 'no-cache'}); res.writeHead(200, {'Content-Type': 'application/json', 'Cache-Control': 'no-cache'});
res.end(playingPlayerPool.get(username)); res.end(playingPlayerPool.get(username));
return;
} }
let arg = url.parse(req.url, true).query; let arg = url.parse(req.url, true).query;
if (!arg.arena) arg.arena = 'entertain'; if (!arg.arena) arg.arena = 'entertain';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment