summaryrefslogtreecommitdiff
path: root/templates/_base.html
diff options
context:
space:
mode:
authoryvesf <yvesf@pinky.(none)>2010-11-24 22:41:28 +0100
committeryvesf <yvesf@pinky.(none)>2010-11-24 22:41:28 +0100
commitff87c6dcaa65c3b1ac366a0ce05b9d6ecf7445b6 (patch)
tree8dbd16b11546bf4a6a940b7c5f0a79d94dad48c9 /templates/_base.html
parent9a1362c62fb52c125fd818a147e63c96c317081f (diff)
downloadbooksearch-ff87c6dcaa65c3b1ac366a0ce05b9d6ecf7445b6.tar.gz
booksearch-ff87c6dcaa65c3b1ac366a0ce05b9d6ecf7445b6.zip
proxy fixups
Diffstat (limited to 'templates/_base.html')
-rw-r--r--templates/_base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_base.html b/templates/_base.html
index c62cedb..02c1ebc 100644
--- a/templates/_base.html
+++ b/templates/_base.html
@@ -10,7 +10,7 @@
<script>
function start() {
var inputField = document.getElementById("searchInput");
- window.location = "/search/" + inputField.value;
+ window.location = "{{ url_for("do_search") }}" + inputField.value;
return false;
}
</script>