Commit 37e39364 authored by Wolfgang's avatar Wolfgang

Set Access-Control-Expose-Headers for docs browsing and search

parent cea8e2e7
......@@ -169,6 +169,7 @@ else if (ends-with($exist:resource, ".html")) then (
<forward url="{$exist:controller}/modules/view.xql">
<set-header name="Access-Control-Allow-Origin" value="*"/>
<set-header name="Access-Control-Expose-Headers" value="pb-start, pb-total"/>
if ($exist:resource = ("search-results.html", "documents.html", "index.html")) then
<set-header name="Cache-Control" value="no-cache"/>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment