summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-04-20 23:08:37 +0800
committerCheng-Han, Wu2016-04-20 23:08:37 +0800
commit13d61fe42db31878e76be3b617402e6527246990 (patch)
tree64af2a637808abb8f43ba636aabc7c4336694c15
parentf693399c766248dc0a561f62360efc3bc90d42d1 (diff)
Remove trivial log
-rw-r--r--app.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/app.js b/app.js
index 8a8b2060..b99a8e8b 100644
--- a/app.js
+++ b/app.js
@@ -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();