diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-05-04 20:42:12 -0400 |
|---|---|---|
| committer | frosty <gabriel@bwaaa.monster> | 2026-05-04 20:43:27 -0400 |
| commit | ba6dae676a5c268d6b4265d26b9556ba1cfa6923 (patch) | |
| tree | a556a64316856f9426924b21d1824632f92c6b84 /templates/opensearch.xml | |
| parent | a9db276fd872951769451142137a5e0f88ed15bc (diff) | |
| download | omnisearch-ba6dae676a5c268d6b4265d26b9556ba1cfa6923.tar.gz | |
feat: remove domain field from config and derive domain from headers
Diffstat (limited to 'templates/opensearch.xml')
| -rw-r--r-- | templates/opensearch.xml | 2 |
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> |
