@@ -24,5 +24,6 @@ public class SpringMvcConfig extends WebMvcConfigurerAdapter {
|
||||
/* Other */
|
||||
registry.addResourceHandler("/*.svg").addResourceLocations(staticPath);
|
||||
registry.addResourceHandler("/*.png").addResourceLocations(staticPath);
|
||||
registry.addResourceHandler("/opensearch.xml").addResourceLocations(staticPath);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/awesome-bootstrap-checkbox.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="KinoSearch" href="/opensearch.xml">
|
||||
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
||||
</head>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<ShortName>KinoSearch</ShortName>
|
||||
<Image height="16" width="16" type="image/svg+xml">127.0.0.1:8080/ks3logo.svg</Image>
|
||||
<InputEncoding>utf-8</InputEncoding>
|
||||
<Url type="text/html" method="get" template="http://127.0.0.1:8080/?search={searchTerms}"/>
|
||||
</OpenSearchDescription>
|
||||
Reference in New Issue
Block a user