Basic Node and Express - Serve Static Assets

app.use(“/public”, express.static(__dirname + “/public”)),

app.get(“/”, (rep,res)=>{
res.sendFile(__dirname + “/views/index.html”);
})
// running tests Your app should serve asset files from the

/public

directory to the

/public

path // tests completed // console output [Error: Not Found

can you put a link to your replit?
Serving static files in Express