lzacharkow / tabby-cat-support

Ask questions, post issues, and add ideas for Tabby Cat!
18 stars 0 forks source link

[bug] Missing CORS headers on http://tabbycats.club/save #22

Open imax9000 opened 2 years ago

imax9000 commented 2 years ago

Firefox prints the following in the console whenever I try to snapshot a cat:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://tabbycats.club/save. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

Here's the full response:

HTTP/1.1 301 Moved Permanently
Server: nginx/1.10.2
Date: Sun, 21 Nov 2021 15:12:58 GMT
Content-Type: text/html
Content-Length: 185
Connection: keep-alive
Location: https://tabbycats.club/save
stefnotch commented 1 year ago

Enabling HTTPs Everywhere in the Firefox settings sometimes fixes that.

Open settings. image

And search for HTTPs in the settings image