diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2014-03-04 20:31:03 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2014-03-04 20:31:03 +0100 |
| commit | a4f89a798196f7d0c8a72ca80b34d2e9b6c040d5 (patch) | |
| tree | a994b6f00168fd908489b8adc3d6922e3ab77a4c /searx/templates/preferences.html | |
| parent | e86947d79c0c1b380e718bc06072285e8a6ca8ed (diff) | |
[fix] proper src/href url handling
Diffstat (limited to 'searx/templates/preferences.html')
| -rw-r--r-- | searx/templates/preferences.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/preferences.html b/searx/templates/preferences.html index dc33c5dfa..5632accd2 100644 --- a/searx/templates/preferences.html +++ b/searx/templates/preferences.html @@ -4,7 +4,7 @@ <div class="row"> <h2>{{ _('Preferences') }}</h2> - <form method="post" action="/preferences" id="search_form"> + <form method="post" action="{{ url_for('preferences') }}" id="search_form"> <fieldset> <legend>{{ _('Default categories') }}</legend> <p> @@ -66,6 +66,6 @@ <input type="submit" value="{{ _('save') }}" /> </form> - <div class="right"><a href="/">{{ _('back') }}</a></div> + <div class="right"><a href="{{ url_for('index') }}">{{ _('back') }}</a></div> </div> {% endblock %} |