mirror of
https://github.com/adityachandelgit/BookLore.git
synced 2026-03-16 16:42:08 -05:00
Fix OPDS
This commit is contained in:
+6
-1
@@ -89,7 +89,12 @@ public class OpdsController {
|
||||
.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() {
|
||||
String searchDoc = opdsFeedService.getOpenSearchDescription();
|
||||
return ResponseEntity.ok()
|
||||
|
||||
Reference in New Issue
Block a user