removed commented out settings

This commit is contained in:
smilerz
2021-04-16 15:25:23 -05:00
parent 8cc74f3dcd
commit 04d131f534

View File

@@ -273,9 +273,6 @@ TEST_RUNNER = "cookbook.helper.CustomTestRunner.CustomTestRunner"
# TODO since token auth is enabled - this all should be https by default
CORS_ORIGIN_ALLOW_ALL = True
# django rest_framework requires authentication header
#CORS_ALLOW_HEADERS = list(default_headers) + ['authentication',]
# enable CORS only for bookmarklet api and only for posts, get and options
CORS_URLS_REGEX = r'^/api/bookmarklet-import.*$'
CORS_ALLOW_METHODS = ['GET', 'OPTIONS', 'POST']