Remove CORS headers from example settings

This commit is contained in:
3wc 2021-06-03 15:34:32 +02:00
parent ea0520e681
commit d2f9470ca4

View File

@ -14,7 +14,6 @@ dependencies:
- djangoldp-conversation
- djangoldp-uploader
- djangoldp-skill
- corsheaders
ldppackages:
- djangoldp_i18n
@ -51,24 +50,6 @@ server:
MAX_ACTIVITY_RESCHEDULES: 4
USE_I18N: True
MIDDLEWARE:
- 'corsheaders.middleware.CorsMiddleware'
CORS_ALLOWED_ORIGINS:
- "http://localhost:1234"
CORS_ALLOW_HEADERS:
- 'accept'
- 'accept-encoding'
- 'authorization'
- 'content-type'
- 'dnt'
- 'origin'
- 'user-agent'
- 'x-csrftoken'
- 'x-requested-with'
- 'dpop'
# defaults to SQLite if not provided
#DATABASES:
# default: