From 5759e1d5c152981b27ec0f1fc8626cd325c02b0c Mon Sep 17 00:00:00 2001 From: Christof Dorner Date: Tue, 2 May 2023 15:57:12 +0000 Subject: [PATCH] Expose Link header via CORS (#562) --- takahe/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/takahe/settings.py b/takahe/settings.py index d41afc2..58a8730 100644 --- a/takahe/settings.py +++ b/takahe/settings.py @@ -324,6 +324,7 @@ CORS_ORIGIN_ALLOW_ALL = True # Temporary CORS_ORIGIN_WHITELIST = SETUP.CORS_HOSTS CORS_ALLOW_CREDENTIALS = True CORS_PREFLIGHT_MAX_AGE = 604800 +CORS_EXPOSE_HEADERS = ("link",) JSONLD_MAX_SIZE = 1024 * 50 # 50 KB