Fix typo and unnessescary console output

This commit is contained in:
Felix Albrigtsen 2022-04-29 11:17:40 +02:00
parent 3ba6f7dab2
commit 99f6ddf9cd
2 changed files with 1 additions and 2 deletions

View File

@ -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));

View File

@ -555,7 +555,6 @@ function editUser(email, user) {
console.log(err);
reject(err);
} else {
console.log(sets);
resolve("User updated");
}
});