R
Railway9mo ago
lotario

Some PNGs stored in project repo fail to load in production.

Hello. I have placed some png's inside the project and I'm loading them in a <img/> element. Most load, but not all (alt attribute is present for those that don't load). I've attached a screenshot and another of the Network tab for the 3 requests that fail. Any help is greatly appreciated! Project ID: fccc699b-2959-453f-9818-2fc046a08b12
No description
No description
Solution:
solved context, lotario shared the repo and link in dms. cache issue, solved via hard refresh....
Jump to solution
7 Replies
Percy
Percy9mo ago
Project ID: fccc699b-2959-453f-9818-2fc046a08b12
Brody
Brody9mo ago
what kind of app is this?
lotario
lotarioOP9mo ago
it's a react + vite
Brody
Brody9mo ago
how are you making sure to not run a development server?
lotario
lotarioOP9mo ago
I'm using the Caddyfile and nixpacks.toml provided by you
Brody
Brody9mo ago
share your repo? and a link to where i can see this error for myself
Solution
Brody
Brody9mo ago
solved context, lotario shared the repo and link in dms. cache issue, solved via hard refresh.
Want results from more Discord servers?
Add your server