From: gdkhd812 Date: Sat, 21 Sep 2013 10:25:57 +0000 (+0900) Subject: 管理コンソール操作後、元の画面に戻れない不具合を修正した X-Git-Url: http://git.osdn.jp/view?p=webchat%2FWebChat.git;a=commitdiff_plain;h=51fd3e282a01045b5e2d23109c4ce2f2c8108cc0 管理コンソール操作後、元の画面に戻れない不具合を修正した --- diff --git a/chat.js b/chat.js index 2e901f4..5388d6f 100644 --- a/chat.js +++ b/chat.js @@ -72,19 +72,19 @@ function admin_postproc(req,res){ if(typeof(req.body.erase) != "undefined") { removeLog(req.body.file,function(){ - res.redirect("/admin"); + res.redirect("/chat/admin"); }); } if(typeof(req.body.registor) != "undefined") { ipbanlist.Update(req.body.newbanlist,function(){ - res.redirect("/admin"); + res.redirect("/chat/admin"); }); } if(typeof(req.body.updateroom) != "undefined") { $rooms.Update(req.body,function(){ - res.redirect("/admin"); + res.redirect("/chat/admin"); }); } }