Skip to content

Make domain for format_strawberryfield.iiif_settings.yml optional #229

@DiegoPino

Description

@DiegoPino

What?

This file is one that needs to be changed every time you deploy on a new server. Allowing a relative path that resolves against the current domain and protocol would allow that setting to be left as a partial path.

How?

Check if path is partial on validation, if so test calling the external server by prepending the current domain. If that works, on every call to a IIIF server (see Formatters that use this) append the current domain (needs to include ports if any/and protocol). Then remove all entries to fixed domains. Basically we don't want to keep domains here EXCEPT if the user really uses a different one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Field FormatterThe thing that glues the pieces and adds glitterUXLike UI but with an XenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions