From 049a64e703c40ab3e7bb510f9de62016ad5b5c08 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 9 Oct 2024 19:07:54 +0200 Subject: [PATCH] Added support for `opensearchdescription.xml` --- webclient/nuxt.config.ts | 6 ++++++ webclient/public/.well-known/opensearchdescription.xml | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 webclient/public/.well-known/opensearchdescription.xml diff --git a/webclient/nuxt.config.ts b/webclient/nuxt.config.ts index ab5f3ea02..5a8ca5e5a 100644 --- a/webclient/nuxt.config.ts +++ b/webclient/nuxt.config.ts @@ -27,6 +27,12 @@ export default defineNuxtConfig({ charset: "utf-8", viewport: "width=device-width, initial-scale=1", link: [ + { + rel: "search", + title: "searchTitle", + type: "application/opensearchdescription+xml", + href: "/opensearchdescription.xml", + }, { rel: "apple-touch-icon", sizes: "180x180", href: "/favicons/apple-touch-icon.png" }, { rel: "icon", type: "image/png", sizes: "32x32", href: "/favicons/favicon-32x32.png" }, { rel: "icon", type: "image/png", sizes: "16x16", href: "/favicons/favicon-16x16.png" }, diff --git a/webclient/public/.well-known/opensearchdescription.xml b/webclient/public/.well-known/opensearchdescription.xml new file mode 100644 index 000000000..b5a546676 --- /dev/null +++ b/webclient/public/.well-known/opensearchdescription.xml @@ -0,0 +1,9 @@ + + NavigaTUM + + Search for rooms, buildings and other places at the university + + + + https://nav.tum.de/favicon.ico +