Skip to content

Commit

Permalink
fix #81
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Sep 7, 2020
1 parent 29cfc7d commit 0c2aeea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/search.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<!---->
<script>
$(document).ready(function() {
const base = "{{base}}".slice(0, -1);
$(".ui.search").search({
apiSettings: {
url: "./api/search?q={query}",
Expand All @@ -24,7 +25,7 @@
return {
title: v.path,
description: v.html_modtime + " || " + v.html_size,
url: v.path,
url: base + v.path,
};
}),
}
Expand Down

0 comments on commit 0c2aeea

Please sign in to comment.