Commit 91ed38aa authored by jobe451's avatar jobe451
Browse files

removed absolute path from download / preview

I run recoll-webui under a differnt path using WSGI and mod_proxy. So the application runs under /recoll/

The download link should therefore point to
/recoll/download (not) /download

This change fixes that
parent 98d08b16
......@@ -22,8 +22,8 @@
</div>
%if hasrclextract:
<div class="search-result-links">
<a href="/preview/{{number-1}}?{{query_string}}" target="_blank">Preview</a>
<a href="/download/{{number-1}}?{{query_string}}">Download</a>
<a href="preview/{{number-1}}?{{query_string}}" target="_blank">Preview</a>
<a href="download/{{number-1}}?{{query_string}}">Download</a>
</div>
%end
<div class="search-result-date">{{d['time']}}</div>
......
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