diff --git a/website/settings.py b/website/settings.py index 0e5d94c..4810d58 100644 --- a/website/settings.py +++ b/website/settings.py @@ -212,7 +212,10 @@ WAGTAILSEARCH_BACKENDS = { WAGTAILADMIN_BASE_URL = f"https://{BASE_HOSTNAME}" -CORS_ALLOWED_ORIGINS = [WAGTAILADMIN_BASE_URL] +CORS_ALLOWED_ORIGINS = [ + WAGTAILADMIN_BASE_URL, + "https://editor.swagger.io" +] WAGTAIL_ENABLE_UPDATE_CHECK = False