I notice you have quite a few console logs and commented out old bits of code, e.g.
else if (endpoint === '/profile') {
// let { jwt } = parse(req.headers.cookie)
// verify(jwt, process.env.JWT_SECRET, (err, decoded)=>{
// console.log(decoded);
// });
staticHandler('public/profile.html', res);
It's generally good practice to try and keep these things off github
I notice you have quite a few console logs and commented out old bits of code, e.g.
It's generally good practice to try and keep these things off github