Files
edx-platform/common/djangoapps/django_comment_common/comment_client/settings.py
2019-05-01 19:13:09 -04:00

9 lines
213 B
Python

from django.conf import settings
if hasattr(settings, "COMMENTS_SERVICE_URL"):
SERVICE_HOST = settings.COMMENTS_SERVICE_URL
else:
SERVICE_HOST = 'http://localhost:4567'
PREFIX = SERVICE_HOST + '/api/v1'