mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 16:51:00 +00:00
Expose Link header via CORS (#562)
This commit is contained in:
parent
7d1558a2ab
commit
5759e1d5c1
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue