Fix OPDS
This commit is contained in:
+6
-1
@@ -89,7 +89,12 @@ public class OpdsController {
|
|||||||
.body(feed);
|
.body(feed);
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping(value = "/search.opds", produces = "application/opensearchdescription+xml")
|
@GetMapping(value = "/search.opds", produces = {
|
||||||
|
"application/opensearchdescription+xml",
|
||||||
|
"application/atom+xml",
|
||||||
|
"application/xml",
|
||||||
|
"text/xml"
|
||||||
|
})
|
||||||
public ResponseEntity<String> getSearchDescription() {
|
public ResponseEntity<String> getSearchDescription() {
|
||||||
String searchDoc = opdsFeedService.getOpenSearchDescription();
|
String searchDoc = opdsFeedService.getOpenSearchDescription();
|
||||||
return ResponseEntity.ok()
|
return ResponseEntity.ok()
|
||||||
|
|||||||
Reference in New Issue
Block a user