I tried that but continue to receive the following Cannot GET /NewPage.html
error. Is there anything else that needs to be configured? I have tried href="/views/NewPage.html"
, href="/NewPage.html"
etc.
(Yes the html page is created in the project)
Resolved
You need to add routing
response.sendFile(__dirname + '/views/NewPage.html');
});```