Expose Link header via CORS (#562)

This commit is contained in:
Christof Dorner 2023-05-02 15:57:12 +00:00 committed by GitHub
parent 7d1558a2ab
commit 5759e1d5c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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