From 99f6ddf9cd152bf678bccb46bddf6c2e537aba4b Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Fri, 29 Apr 2022 11:17:40 +0200 Subject: [PATCH] Fix typo and unnessescary console output --- src/server/index.js | 2 +- src/server/tmdb.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/index.js b/src/server/index.js index fdd9bf8..9169a73 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -58,7 +58,7 @@ const indexhtmlPath = path.join(process.env.CLIENT_BUILD_DIR, "index.html"); const staticPath = path.join(process.env.CLIENT_BUILD_DIR, "static"); app.use('/', express.static(process.env.CLIENT_BUILD_DIR)); app.use('/login', express.static(indexhtmlPath)); -app.use('/nous', express.static(indexhtmlPath)); +app.use('/nouser', express.static(indexhtmlPath)); app.use('/history', express.static(indexhtmlPath)); app.use('/admins', express.static(indexhtmlPath)); app.use('/profile', express.static(indexhtmlPath)); diff --git a/src/server/tmdb.js b/src/server/tmdb.js index 982e878..897b6bd 100644 --- a/src/server/tmdb.js +++ b/src/server/tmdb.js @@ -555,7 +555,6 @@ function editUser(email, user) { console.log(err); reject(err); } else { - console.log(sets); resolve("User updated"); } });