aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-05-04 20:42:12 -0400
committerfrosty <gabriel@bwaaa.monster>2026-05-04 20:43:27 -0400
commitba6dae676a5c268d6b4265d26b9556ba1cfa6923 (patch)
treea556a64316856f9426924b21d1824632f92c6b84 /templates
parenta9db276fd872951769451142137a5e0f88ed15bc (diff)
downloadomnisearch-ba6dae676a5c268d6b4265d26b9556ba1cfa6923.tar.gz
feat: remove domain field from config and derive domain from headers
Diffstat (limited to 'templates')
-rw-r--r--templates/opensearch.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/opensearch.xml b/templates/opensearch.xml
index 8544b09..14d3760 100644
--- a/templates/opensearch.xml
+++ b/templates/opensearch.xml
@@ -4,7 +4,7 @@
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>OmniSearch</ShortName>
<Description>Lightweight metasearch engine</Description>
- <Url type="text/html" method="get" template="{{domain}}/search?q={searchTerms}"/>
+ <Url type="text/html" method="get" template="{{scheme}}://{{domain}}/search?q={searchTerms}"/>
<InputEncoding>UTF-8</InputEncoding>
<OutputEncoding>UTF-8</OutputEncoding>
<moz:SearchForm>{{domain}}/</moz:SearchForm>