From fab6c87d31b64c889062933fde3463e3cb6abe24 Mon Sep 17 00:00:00 2001 From: Olivier Leger Date: Fri, 5 Apr 2024 16:31:42 -0400 Subject: [PATCH] Allow service account between both domains --- templates/kobo-env/envfiles/django.txt.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/kobo-env/envfiles/django.txt.tpl b/templates/kobo-env/envfiles/django.txt.tpl index aaa4e53..cdd4112 100644 --- a/templates/kobo-env/envfiles/django.txt.tpl +++ b/templates/kobo-env/envfiles/django.txt.tpl @@ -14,7 +14,7 @@ CELERY_AUTOSCALE_MIN=2 CELERY_AUTOSCALE_MAX=6 # Comma separated domains -${USE_SERVICE_ACCOUNT_WHITELISTED_HOSTS}SERVICE_ACCOUNT_WHITELISTED_HOSTS=${KOBOFORM_SUBDOMAIN}.${INTERNAL_DOMAIN_NAME} +${USE_SERVICE_ACCOUNT_WHITELISTED_HOSTS}SERVICE_ACCOUNT_WHITELISTED_HOSTS=${KOBOFORM_SUBDOMAIN}.${INTERNAL_DOMAIN_NAME},${KOBOCAT_SUBDOMAIN}.${INTERNAL_DOMAIN_NAME} # See "api key" here: https://github.com/kobotoolbox/enketo-express/tree/master/config#linked-form-and-data-server. ENKETO_API_KEY=${ENKETO_API_KEY}