Express web service not showing CSS on static HTML page

Ok I resolved this. Heres what I did:

I moved the public folder outside of the src and into the root of my project.

I changed the express static middleware to this : app.use(express.static("public"));

And altered my render.yaml file staticPublishPath to staticPublishPath: ./public