Commit 13d61fe4 authored by Cheng-Han, Wu's avatar Cheng-Han, Wu
Browse files

Remove trivial log

parent f693399c
......@@ -153,7 +153,6 @@ passport.deserializeUser(function (id, done) {
app.use(function(req, res, next) {
if ("GET" == req.method && req.path.substr(-1) == '/' && req.path.length > 1) {
var query = req.url.slice(req.path.length);
console.log(config.serverurl + req.path.slice(0, -1) + query);
res.redirect(301, config.serverurl + req.path.slice(0, -1) + query);
} else {
next();
......
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