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"); } });