Recently, I successfully hosted an application on Heroku and it was working perfectly fine with the CSS being linked like this:
<link rel="stylesheet" href="/css/style.css"/>
However, when I added my custom domain, the CSS stopped working. Upon checking the source code and clicking on the href, I received a "Not Found" response. Surprisingly, nothing has changed - my CSS folder is still located in the public folder of my app's directory.