diff --git a/ansible/roles/trmm_dev/templates/local_settings.j2 b/ansible/roles/trmm_dev/templates/local_settings.j2 index 82c23283..3b9601a6 100644 --- a/ansible/roles/trmm_dev/templates/local_settings.j2 +++ b/ansible/roles/trmm_dev/templates/local_settings.j2 @@ -2,6 +2,10 @@ SECRET_KEY = "{{ django_secret }}" DEBUG = True ALLOWED_HOSTS = ['{{ api }}'] ADMIN_URL = "admin/" +CORS_ORIGIN_WHITELIST = [ + "http://{{ rmm }}:8080", + "https://{{ rmm }}:8080", +] CORS_ORIGIN_ALLOW_ALL = True DATABASES = { 'default': {