Update code of get_eligibility api.

ECOM-1858
This commit is contained in:
Tasawer
2015-07-15 15:17:58 +05:00
committed by zubair-arbi
parent ae0e21b32a
commit 1ded8b546c
3 changed files with 14 additions and 4 deletions

View File

@@ -184,6 +184,13 @@ if FEATURES.get('ENABLE_THIRD_PARTY_AUTH') and 'third_party_auth.dummy.DummyBack
############## ECOMMERCE API CONFIGURATION SETTINGS ###############
ECOMMERCE_PUBLIC_URL_ROOT = "http://localhost:8002"
###################### Cross-domain requests ######################
FEATURES['ENABLE_CORS_HEADERS'] = True
CORS_ALLOW_CREDENTIALS = True
CORS_ORIGIN_WHITELIST = ()
CORS_ORIGIN_ALLOW_ALL = True
#####################################################################
# See if the developer has any local overrides.
try: