From 7c819426f022193b60c989fbc0069bff497e13e9 Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Wed, 3 Sep 2025 16:42:18 +0100 Subject: [PATCH] Added "uppy" uploader settings to config --- invenio/invenio.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/invenio/invenio.cfg b/invenio/invenio.cfg index cb55e28..b95c181 100644 --- a/invenio/invenio.cfg +++ b/invenio/invenio.cfg @@ -119,6 +119,9 @@ APP_DEFAULT_SECURE_HEADERS = { "img-src": [ "*", ], + "script-src": [ + "'self'", "blob:", "'wasm-unsafe-eval'" + ], }, "force_https": True, "force_https_permanent": False, @@ -216,6 +219,9 @@ APP_RDM_DEPOSIT_FORM_QUOTA = { "maxFiles": 500, "maxStorage": 10 * 1024**4, # 10 TB } + +APP_RDM_DEPOSIT_NG_FILES_UI_ENABLED = True + # Invenio-S3 # ========== S3_ACCESS_KEY_ID = "CHANGE_ME"