mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Update {{cookiecutter.project_slug}}/config/settings/base.py
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
parent
20986bafb7
commit
ff69126087
|
@ -327,9 +327,7 @@ REST_FRAMEWORK = {
|
|||
}
|
||||
|
||||
# django-cors-headers - https://github.com/adamchainz/django-cors-headers#setup
|
||||
CORS_URLS_REGEX = {
|
||||
r"^/api.*$",
|
||||
}
|
||||
CORS_URLS_REGEX = r"^/api/.*$"
|
||||
|
||||
{%- endif %}
|
||||
# Your stuff...
|
||||
|
|
Loading…
Reference in New Issue
Block a user