Skip to content

Commit

Permalink
iiif: fix info request not being proxied
Browse files Browse the repository at this point in the history
request.endpoint appears to contain the method name (info) and not route name (image_info)
  • Loading branch information
dfdan authored and slint committed Mar 7, 2025
1 parent 4693102 commit f750f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_rdm_records/resources/iiif.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def should_proxy(self):
"""
return request.endpoint in (
"iiif.image_api",
"iiif.image_info",
"iiif.info",
# TODO: `image_base` would redirect to the info endpoint, but we should make
# sure the proxy does this correctly, preserving the original path.
# "iiif.image_base",
Expand Down

0 comments on commit f750f6d

Please sign in to comment.