Fix typo and unnessescary console output
This commit is contained in:
parent
3ba6f7dab2
commit
99f6ddf9cd
|
@ -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));
|
||||
|
|
|
@ -555,7 +555,6 @@ function editUser(email, user) {
|
|||
console.log(err);
|
||||
reject(err);
|
||||
} else {
|
||||
console.log(sets);
|
||||
resolve("User updated");
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue