Remove CORS headers from example settings
This commit is contained in:
parent
ea0520e681
commit
d2f9470ca4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user