]> git.cworth.org Git - empires-server/commitdiff
Remove debugging log message
authorCarl Worth <cworth@cworth.org>
Wed, 27 May 2020 16:53:53 +0000 (09:53 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 27 May 2020 16:53:53 +0000 (09:53 -0700)
This was left around from some recent work to fixup the redirect.

lmno.js

diff --git a/lmno.js b/lmno.js
index d818cd12fb16de02af766b02b995d5eac3f43886..7c374eff600b32e5da09eedf9657b2732bb63114 100644 (file)
--- a/lmno.js
+++ b/lmno.js
@@ -155,7 +155,6 @@ app.use('/:engine([^/]+)/:game_id([a-zA-Z0-9]{4})', (request, response, next) =>
     const old_path = new RegExp(`/${engine}/${game_id}/?`);
     const new_path = `/${engine}/${canon_id}/`;
     const new_url = request.originalUrl.replace(old_path, new_path);
-    console.log("Redirecting from " + request.originalUrl + " to " + new_url);
     response.redirect(301, new_url);
     return;
   }