Expose Link header via CORS (#562)
This commit is contained in:
parent
7d1558a2ab
commit
5759e1d5c1
|
@ -324,6 +324,7 @@ CORS_ORIGIN_ALLOW_ALL = True # Temporary
|
||||||
CORS_ORIGIN_WHITELIST = SETUP.CORS_HOSTS
|
CORS_ORIGIN_WHITELIST = SETUP.CORS_HOSTS
|
||||||
CORS_ALLOW_CREDENTIALS = True
|
CORS_ALLOW_CREDENTIALS = True
|
||||||
CORS_PREFLIGHT_MAX_AGE = 604800
|
CORS_PREFLIGHT_MAX_AGE = 604800
|
||||||
|
CORS_EXPOSE_HEADERS = ("link",)
|
||||||
|
|
||||||
JSONLD_MAX_SIZE = 1024 * 50 # 50 KB
|
JSONLD_MAX_SIZE = 1024 * 50 # 50 KB
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue