OSDN Git Service

管理コンソール操作後、元の画面に戻れない不具合を修正した
authorgdkhd812 <aaa@wwwcf.co.jp>
Sat, 21 Sep 2013 10:25:57 +0000 (19:25 +0900)
committergdkhd812 <aaa@wwwcf.co.jp>
Sat, 21 Sep 2013 10:25:57 +0000 (19:25 +0900)
chat.js

diff --git a/chat.js b/chat.js
index 2e901f4..5388d6f 100644 (file)
--- a/chat.js
+++ b/chat.js
@@ -72,19 +72,19 @@ function admin_postproc(req,res){
        if(typeof(req.body.erase) != "undefined")\r
        {\r
                removeLog(req.body.file,function(){\r
-                       res.redirect("/admin");\r
+                       res.redirect("/chat/admin");\r
                });\r
        }\r
        if(typeof(req.body.registor) != "undefined")\r
        {\r
                ipbanlist.Update(req.body.newbanlist,function(){\r
-                       res.redirect("/admin");\r
+                       res.redirect("/chat/admin");\r
                });\r
        }\r
        if(typeof(req.body.updateroom) != "undefined")\r
        {\r
                $rooms.Update(req.body,function(){\r
-                       res.redirect("/admin");\r
+                       res.redirect("/chat/admin");\r
                });\r
        }\r
 }\r