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.
This commit is contained in:
parent
dbf48674f9
commit
f4b399aec2
1
changelog.d/20241114_112459_regis_fix_dev_cors.md
Normal file
1
changelog.d/20241114_112459_regis_fix_dev_cors.md
Normal 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)
|
||||
@ -4,6 +4,7 @@ SECRET_KEY = "{{ NOTES_SECRET_KEY }}"
|
||||
ALLOWED_HOSTS = [
|
||||
"notes",
|
||||
"{{ NOTES_HOST }}",
|
||||
"{{ NOTES_HOST }}:8120",
|
||||
]
|
||||
|
||||
DATABASES = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user