Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
Commit cca43bbb authored by Mathias Goebel's avatar Mathias Goebel
Browse files

use the provided config file as fallback

parent fca4825c
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,9 @@ as map(*) {
let $config-uri := $target || "/openapi-config.xml"
let $config := if(doc-available($config-uri))
then doc($config-uri)/*
else (//openapi:config)[last()] let $repo := doc($target || "/repo.xml")/*
let $config := if(doc-available($config-uri))
then doc($config-uri)/*
else doc( replace(system:get-module-load-path(), '^(xmldb:exist://)?(embedded-eXist-server)?(.+)$', '$3') || "/openapi-config.xml" )/*
let $expath := doc($target || "/expath-pkg.xml")/*
return
map:merge((
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment