NodeJS Index Homepage Route

Hi there,

When selecing the root / as a route for my home button on my main.ejs page like below:

It initally sets the link to a “/” which I would expect to work however upon save it then changes it to …/…/public/
image

Which then when I use the home link creats the below issue:
image

Am I missing a step or doing something wrong, all the other routes work fine

Thanks

Community Page
Last updated: