Monstarrrr / rebutify

Web platform where experts submit rebuttals to common arguments against social justice movements.
https://rebutify.org
5 stars 1 forks source link

CORS error when making API calls from local network #199

Open Monstarrrr opened 1 week ago

Monstarrrr commented 1 week ago

Problem

When I use local network (e.g. 192.168.1.11), the front-end loads but any API call fails with CORS despite added http://192.168.1.11:3000 to CORS_ALLOWED_ORIGINS in settings.py.
This will be important to fix in order to test the website on mobile later on.

Solution