diff --git a/changelog.d/20241114_112459_regis_fix_dev_cors.md b/changelog.d/20241114_112459_regis_fix_dev_cors.md new file mode 100644 index 0000000..b45921c --- /dev/null +++ b/changelog.d/20241114_112459_regis_fix_dev_cors.md @@ -0,0 +1 @@ +- [Bugfix] Fix broken feature in `dev` mode, where the frontend is reporting a CORS error on loading the notes. (by @regisb) diff --git a/tutornotes/templates/notes/apps/settings/tutor.py b/tutornotes/templates/notes/apps/settings/tutor.py index 18e0623..4de5a3e 100644 --- a/tutornotes/templates/notes/apps/settings/tutor.py +++ b/tutornotes/templates/notes/apps/settings/tutor.py @@ -4,6 +4,7 @@ ALLOWED_HOSTS = [ "notes", "{{ NOTES_HOST }}", + "{{ NOTES_HOST }}:8120", ] DATABASES = {