Skip to content

Commit

Permalink
[ignore] remove tabs from controller.xq
Browse files Browse the repository at this point in the history
  • Loading branch information
line-o committed Aug 20, 2024
1 parent eee1137 commit ef7b1e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions controller.xq
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ else if ($exist:resource eq 'execute') then
<set-header name="Cache-Control" value="no-cache"/>
<!-- Query is passed via the attribute 'xquery.source' -->
<set-attribute name="xquery.source" value="{$query}"/>
<set-attribute name="xquery.module-load-path" value="{$base}"/>
<set-attribute name="xquery.module-load-path" value="{$base}"/>
<!-- Errors should be passed through instead of terminating the request -->
<set-attribute name="xquery.report-errors" value="yes"/>
<set-attribute name="start-time" value="{util:system-time()}"/>
Expand All @@ -243,12 +243,12 @@ else if ($local:method = 'get' and starts-with($exist:path, '/results/')) then
else if ($local:method = 'get' and $exist:resource eq "outline") then
let $query := request:get-parameter("qu", ())
let $base := request:get-parameter("base", ())
return
return
<dispatch xmlns="http://exist.sourceforge.net/NS/exist">
<!-- Query is executed by XQueryServlet -->
<!-- Query is executed by XQueryServlet -->
<forward url="modules/outline.xq">
<set-header name="Cache-Control" value="no-cache"/>
<set-attribute name="xquery.module-load-path" value="{$base}"/>
<set-attribute name="xquery.module-load-path" value="{$base}"/>
</forward>
</dispatch>

Expand Down

0 comments on commit ef7b1e4

Please sign in to comment.