add non dynamic opensearch :(

This commit is contained in:
castdrian 2023-06-30 21:33:59 +02:00
parent 5a4a9f01f3
commit 915c69a434
2 changed files with 12 additions and 0 deletions

View file

@ -33,6 +33,9 @@
<meta name="referrer" content="no-referrer" />
<title>movie-web</title>
<!-- OpenSearch -->
<link rel="search" type="application/opensearchdescription+xml" title="movie-web" href="/opensearch.xml">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>

9
public/opensearch.xml Normal file
View file

@ -0,0 +1,9 @@
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>movie-web</ShortName>
<Description>The place for your favorite movies &amp; shows</Description>
<InputEncoding>UTF-8</InputEncoding>
<!-- <Url type="text/html" template="https://movie-web.app/browse/{searchTerms}" /> -->
<Url type="text/html" template="https://dev.movie-web.app/browse/{searchTerms}" />
<!-- <Url type="text/html" template="http://localhost:5173/#/browse/{searchTerms}" /> -->
<Url type="application/opensearchdescription+xml" rel="self" template="https://movie-web.app/opensearch.xml" />
</OpenSearchDescription>