Przeglądaj źródła

Merge f623d658290434ca46d5a9bdd36b3903ba6a7cb1 into cd819ae74bfc204c86f1b3d1588859ec8f7d8240

Matej Cotman 6 lat temu
rodzic
commit
aa1132a7ea
Brak konta powiązanego z e-mailem autora

+ 1
- 1
searx/templates/oscar/preferences.html Wyświetl plik

@@ -300,7 +300,7 @@
300 300
         {{ _("These cookies serve your sole convenience, we don't use these cookies to track you.") }}
301 301
         </p>
302 302
         <p style="margin:20px 0;">{{ _('Search URL of the currently saved preferences') }} <small class="text-muted">({{ _('Note: specifying custom settings in the search URL can reduce privacy by leaking data to the clicked result sites.') }})</small>:<br/>
303
-          <input readonly="" class="form-control select-all-on-click cursor-text" type="url" value="{{ url_for('index', _external=True) }}?preferences={{ preferences_url_params|e }}{% raw %}&amp;q=%s{% endraw %}">
303
+          <input readonly="" class="form-control select-all-on-click cursor-text" type="url" value="{{ base_url }}?preferences={{ preferences_url_params|e }}{% raw %}&amp;q=%s{% endraw %}">
304 304
         </p>
305 305
 
306 306
         <input type="submit" class="btn btn-primary" value="{{ _('save') }}" />

+ 1
- 1
searx/templates/pix-art/preferences.html Wyświetl plik

@@ -76,6 +76,6 @@
76 76
 
77 77
     <input type="submit" value="{{ _('save') }}" />
78 78
     <div class="{% if rtl %}left{% else %}right{% endif %} preferences_back"><a href="{{ url_for('index') }}">{{ _('back') }}</a></div>
79
-    </form>    
79
+    </form>
80 80
 </div>
81 81
 {% endblock %}