Skip to content

Uncomment the error messageΒ #61

@matthewdking

Description

@matthewdking

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();
};

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions