mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-30 21:49:50 -05:00
removed commented out settings
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user