hymm / squid-tracks

An Unofficial Desktop Client for Splatnet2
135 stars 25 forks source link

Add https to Content Security Policy #211

Closed bshackelford closed 4 years ago

bshackelford commented 4 years ago

Fixes https://github.com/hymm/squid-tracks/issues/210

Images not loading over secure protocol due to CSP issue. I'm not exactly sure why this started failing now. My guess is something changed with how Electron evals the CSP between Electron v3 and Electron v9 that was upgraded in v1.3.3.

Screen Shot 2020-09-24 at 3 36 45 PM

@hymm

hymm commented 4 years ago

It has to do with chromium and pretty much all the browsers going to a stricter security model in the last few months sometime.