Black-Kamelia / Hedera

A self-hosted screenshots/files hosting system. Hedera + ShareX = ❤️
Apache License 2.0
33 stars 2 forks source link

Broken CORS policies #89

Open SlamaFR opened 1 year ago

SlamaFR commented 1 year ago

CORS are inexplicably blocking request of JavaScript resources. I tried to completely disable the CORS plugin and deploy a test image and the site loads up.

We should try to limit CORS policy to /api/** routes?

SlamaFR commented 1 year ago

Okay, so, we actually need to configure CORS in order for the dev front to work. As we suggested, we will allow any host until further notice.