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");
|
const staticPath = path.join(process.env.CLIENT_BUILD_DIR, "static");
|
||||||
app.use('/', express.static(process.env.CLIENT_BUILD_DIR));
|
app.use('/', express.static(process.env.CLIENT_BUILD_DIR));
|
||||||
app.use('/login', express.static(indexhtmlPath));
|
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('/history', express.static(indexhtmlPath));
|
||||||
app.use('/admins', express.static(indexhtmlPath));
|
app.use('/admins', express.static(indexhtmlPath));
|
||||||
app.use('/profile', express.static(indexhtmlPath));
|
app.use('/profile', express.static(indexhtmlPath));
|
||||||
|
|
|
@ -555,7 +555,6 @@ function editUser(email, user) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
reject(err);
|
reject(err);
|
||||||
} else {
|
} else {
|
||||||
console.log(sets);
|
|
||||||
resolve("User updated");
|
resolve("User updated");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue