Loading src/main/core/routes.xqm +1 −1 Changes for src/main/core/routes.xqm: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ declare %rest:GET %output:method("html") %output:html-version('5') %rest:path("/{$lang=[a-z]{2}}/{$collection=.+}/{$doc=[a-zA-Z0-9_]+}.html") %rest:path("/{$lang=[a-z]{2}}/{$collection=.+}/{$doc=[a-zA-Z0-9_\-]+}.html") function routes:document($lang as xs:string, $collection as xs:string?, $doc as xs:string){ try{ utils:doc-to-html($collection, $doc, $lang) Loading Loading
src/main/core/routes.xqm +1 −1 Changes for src/main/core/routes.xqm: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ declare %rest:GET %output:method("html") %output:html-version('5') %rest:path("/{$lang=[a-z]{2}}/{$collection=.+}/{$doc=[a-zA-Z0-9_]+}.html") %rest:path("/{$lang=[a-z]{2}}/{$collection=.+}/{$doc=[a-zA-Z0-9_\-]+}.html") function routes:document($lang as xs:string, $collection as xs:string?, $doc as xs:string){ try{ utils:doc-to-html($collection, $doc, $lang) Loading