Commit e141950b authored by Wolfgang's avatar Wolfgang

Set Access-Control-Allow-Origin

parent 23ed170d
......@@ -26,6 +26,7 @@ declare option output:method "json";
declare option output:media-type "application/ld+json";
declare function dts:process($config as map(*)) {
response:set-header("Access-Control-Allow-Origin", "*"),
let $endpoint := request:get-parameter("endpoint", ())
if (not($endpoint)) then
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