Static file not loading on glitch to complete basic node and express

I’m on the Serve Static Assets task in basic node and express. I cloned github project to glitch and I cannot complete the task because static file is not loading on glitch. here is the link to my glitch project.
below is my code to load static file.

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

It’s working now. I chaned my code as below.

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

1 Like

Thanks, I’ve been researching this for about an hour now, I finally get what a “mount path” is. A somewhat cursory and cryptic explanation for someone who’s new to servers, I’d say.