GRA0007 / crab.fit

Enter your availability to find a time that works for everyone!
https://crab.fit
GNU General Public License v3.0
244 stars 31 forks source link

CORS issue #306

Open poka-IT opened 10 months ago

poka-IT commented 10 months ago

Description of the bug

My local instance is under nginx reverse proxy.

When i try to create an event, I got CORS error for localhost request:

Blocking a multi-origin request (Cross-Origin Request): the “Same Origin” policy does not allow you to consult the remote resource located at http://127.0.0.1:3000/event. Reason: CORS request failed. Status code: (null).

Should I configure public URL somewere ? in .env ? I set FRONTEND_URL in .env of api server, but this doesn't resolv this problem.

To reproduce

No response

Expected behavior

No response

Additional information

No response