Skip to content

Commit

Permalink
resources: make IIIF proxy configurable via import string
Browse files Browse the repository at this point in the history
  • Loading branch information
slint committed Apr 25, 2024
1 parent 64354fd commit ddf0aee
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 @@ -95,7 +95,7 @@ class IIIFResourceConfig(ResourceConfig, ConfiguratorMixin):
"tiff": "image/tiff",
}

proxy_cls = FromConfig("IIIF_PROXY_CLASS", default=None)
proxy_cls = FromConfig("IIIF_PROXY_CLASS", default=None, import_string=True)


def with_iiif_content_negotiation(serializer):
Expand Down

0 comments on commit ddf0aee

Please sign in to comment.