This error message is exactly what you want to send π Uncomment it so it shows the user a message π
handlers.pageNotFound = function(request, response) {
response.writeHead(404, { 'Content-Type': 'text/html' });
// response.write('<h1>404 Page Requested Cannot be Found</h1>'); <--- uncomment this
response.end();
};
This error message is exactly what you want to send π Uncomment it so it shows the user a message π