Skip to content

Commit

Permalink
added opensearch hermes support
Browse files Browse the repository at this point in the history
  • Loading branch information
bgalek committed Sep 12, 2024
1 parent 1b730c2 commit 52e92fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions hermes-console/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hermes Console</title>
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Hermes">
</head>
<body>
<div id="app"></div>
Expand Down
7 changes: 7 additions & 0 deletions hermes-console/public/opensearch.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Hermes</ShortName>
<Description>Search Hermes Topics</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon">/favicon.ico</Image>
<Url type="text/html" method="get" template="/search?q={searchTerms}&amp;ref=opensearch"/>
</OpenSearchDescription>

0 comments on commit 52e92fa

Please sign in to comment.