From 1cebb3bbd9148695f019cb1f44a2a3d27ef11e0c Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sun, 13 Sep 2020 11:43:51 +0200 Subject: [PATCH] add even more opensearch support --- server.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/server.ts b/server.ts index b5c25fe..fc79659 100644 --- a/server.ts +++ b/server.ts @@ -49,10 +49,16 @@ app.use('/opensearch.xml', async function (req, res) { ${CONFIG.SEARCH_INSTANCE.NAME} ${CONFIG.SEARCH_INSTANCE.DESCRIPTION} - favicon.png - en + ${url}/img/favicon.png + * + + + + open + true UTF-8 - + UTF-8 + Framasoft: contact.framasoft.org `).type('application/xml').status(200).end() }) app.use('/*', async function (req, res) {