You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't have any sites configured on Wagtail (very possible if you're running headless) and don't have localhost in your Django ALLOWED_HOSTS, you'll get an error. But you can avoid adding localhost to your ALLOWED_HOSTS by setting up a site.
I figured this out by raising an issue against wagtail, maybe this should go somewhere in the readme?
The text was updated successfully, but these errors were encountered:
That makes sense. Would you be able to submit a PR? I figure you're quite well placed to update the README from the point of view of someone who got bit by this
This is often solved by installing the django-cors-headers package and adding its corsheaders to INSTALLED_APPS, or did this not solve the original issue?
If you don't have any sites configured on Wagtail (very possible if you're running headless) and don't have
localhost
in your Django ALLOWED_HOSTS, you'll get an error. But you can avoid addinglocalhost
to your ALLOWED_HOSTS by setting up a site.I figured this out by raising an issue against wagtail, maybe this should go somewhere in the readme?
The text was updated successfully, but these errors were encountered: