mirror of
https://github.com/gotson/komga.git
synced 2026-01-05 15:26:14 +01:00
add more media types for OPDS to avoid HTTP 406 errors
This commit is contained in:
parent
ce9478023c
commit
e019e0e7d2
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ private const val ID_SERIES_ALL = "allSeries"
|
|||
private const val ID_SERIES_LATEST = "latestSeries"
|
||||
|
||||
@RestController
|
||||
@RequestMapping(value = [ROUTE_BASE], produces = [MediaType.TEXT_XML_VALUE])
|
||||
@RequestMapping(value = [ROUTE_BASE], produces = [MediaType.APPLICATION_ATOM_XML_VALUE, MediaType.APPLICATION_XML_VALUE, MediaType.TEXT_XML_VALUE])
|
||||
class OpdsController(
|
||||
private val serieRepository: SerieRepository
|
||||
) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue