ixhbinphoenix / bne

https://theschedule.de
GNU General Public License v3.0
4 stars 0 forks source link

PWA Icons corrupted on Vercel Deployment #51

Closed Sxyntheon closed 9 months ago

Sxyntheon commented 1 year ago

The PWA Icons can not be loaded in vercel deployments because the files are corrupted. Building and running local doesn´t produce this error.

My first guess would be that Vercel handles png images in a special way that breaks them in our case.

I´d like someone else take a look at this to verify if I missed something.

Sxyntheon commented 1 year ago

Looks like pngs also don´t work when they are used in the page itself. We could maybe try to host pngs on a different platform instead

ixhbinphoenix commented 10 months ago

Well, we have an nginx server now, we can just host those images there.

Sxyntheon commented 9 months ago

Fix was to change git behaviour on pngs, which was trying to change lineendings to lf for whatever reason