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.
Problem
When I use local network (e.g.
192.168.1.11
), the front-end loads but any API call fails with CORS despite addedhttp://192.168.1.11:3000
toCORS_ALLOWED_ORIGINS
insettings.py
.This will be important to fix in order to test the website on mobile later on.
Solution