Serve an HTML File Bug

Tell us what’s happening:
Describe your issue in detail here

I can’t seem to figure out why my app.get() function isn’t working properly to serve the “/views/index.html” page

The preview shows as “Not Found” and there is no error preventing the server from starting

Your project link(s)


Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36

Challenge: Serve an HTML File

Link to the challenge:

You removed the export at the bottom of the file. Put it back.

module.exports = app;


Face palm moment. Thanks.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.