mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 23:13:10 +00:00
Use application/json as mime type for iiif manifests
(cherry picked from commit 643e9984c7
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
1f5d072317
commit
0095ec7f56
@@ -48,7 +48,7 @@ public class IIIFController {
|
|||||||
* @param id DSpace Item uuid
|
* @param id DSpace Item uuid
|
||||||
* @return manifest as JSON
|
* @return manifest as JSON
|
||||||
*/
|
*/
|
||||||
@RequestMapping(method = RequestMethod.GET, value = "/{id}/manifest")
|
@RequestMapping(method = RequestMethod.GET, value = "/{id}/manifest", produces = "application/json")
|
||||||
public String findOne(@PathVariable UUID id) {
|
public String findOne(@PathVariable UUID id) {
|
||||||
Context context = ContextUtil.obtainCurrentRequestContext();
|
Context context = ContextUtil.obtainCurrentRequestContext();
|
||||||
return iiifFacade.getManifest(context, id);
|
return iiifFacade.getManifest(context, id);
|
||||||
|
Reference in New Issue
Block a user