Compare commits

...

1 Commits

Author SHA1 Message Date
Régis Behmo
f4b399aec2 fix: broken feature in dev mode
Student notes were simply not working in dev mode because the dev server
hostname was not whitelisted in ALLOWED_HOSTS.
2024-11-14 11:26:12 +01:00
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
- [Bugfix] Fix broken feature in `dev` mode, where the frontend is reporting a CORS error on loading the notes. (by @regisb)

View File

@ -4,6 +4,7 @@ SECRET_KEY = "{{ NOTES_SECRET_KEY }}"
ALLOWED_HOSTS = [
"notes",
"{{ NOTES_HOST }}",
"{{ NOTES_HOST }}:8120",
]
DATABASES = {