Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap riiif initializer in a Reloader #4843

Merged
merged 1 commit into from
Mar 31, 2021
Merged

Wrap riiif initializer in a Reloader #4843

merged 1 commit into from
Mar 31, 2021

Conversation

dlpierce
Copy link
Contributor

The configuration contained in an application's config/initializers/riiif.rb will (sometimes?) be lost at runtime in development mode causing an incorrect file_resolver to be used when requesting an image via riiif. This will explicitly reload that initializer when the application is reloading code.

Suggested in sul-dlss/riiif#119

Guidance for testing, such as acceptance criteria or new user interface behaviors:

  • Working IIIF image requests in dassie.
  • Should have no effect in production.

@samvera/hyrax-code-reviewers

@no-reply
Copy link
Contributor

seems good. is this something we should recommend to folks with existing apps with initializers generated by Hyrax?

@no-reply no-reply merged commit c35e043 into master Mar 31, 2021
@no-reply no-reply deleted the riiif_init_reload branch March 31, 2021 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants