diff --git a/dusken/settings-sample.py b/dusken/settings-sample.py index ec70f32..3819fad 100644 --- a/dusken/settings-sample.py +++ b/dusken/settings-sample.py @@ -160,10 +160,10 @@ AUTH_USER_MODEL = 'dusken.Member' TASTYPIE_DEFAULT_FORMATS = ['json'] -CORS_ORIGIN_ALLOW_ALL = False +CORS_ORIGIN_ALLOW_ALL = True # Allow Ajax calls only from tuple of domain:port -CORS_ORIGIN_WHITELIST = ( - '127.0.0.1:3000', - 'dusken.neuf.no:3000', - 'dusken.neuf.no', -) +#CORS_ORIGIN_WHITELIST = ( +# '127.0.0.1:3000', +# 'dusken.neuf.no:3000', +# 'dusken.neuf.no', +#)