Closed CYCBrian closed 10 months ago
create function so that get * would return the index.html
added code to html-routes.js for getting notes and *
app.get("*", (req, res)=>{ res.sendFile(path.join(__dirname, "public/index.html")) });
Currently stanalone code, not exported to server.js
DONE!
create function so that get * would return the index.html