Commit fd66c660 authored by mercury233's avatar mercury233

fix

parent a2bc43d8
...@@ -600,6 +600,7 @@ if settings.modules.http ...@@ -600,6 +600,7 @@ if settings.modules.http
for room in Room.all for room in Room.all
ygopro.stoc_send_chat_to_room(room, u.query.shout) ygopro.stoc_send_chat_to_room(room, u.query.shout)
response.writeHead(200); response.writeHead(200);
response.end("shout " + u.query.shout + " ok");
else else
response.writeHead(404); response.writeHead(404);
response.end(); response.end();
......
...@@ -806,7 +806,8 @@ ...@@ -806,7 +806,8 @@
room = ref2[j]; room = ref2[j];
ygopro.stoc_send_chat_to_room(room, u.query.shout); ygopro.stoc_send_chat_to_room(room, u.query.shout);
} }
return response.writeHead(200); response.writeHead(200);
return response.end("shout " + u.query.shout + " ok");
} else { } else {
response.writeHead(404); response.writeHead(404);
return response.end(); return response.end();
......
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