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

Use https for iiif manifest urls not http #666

Merged
merged 2 commits into from
Nov 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/main/util/render_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def generate_pdf_manifest(record_id):

manifest = {
"@context": [
"http://iiif.io/api/presentation/3/context.json",
"https://iiif.io/api/presentation/3/context.json",
],
"id": f"{url_for('main.generate_manifest', record_id=record_id, _external=True, render=True)}",
"type": "Manifest",
Expand Down Expand Up @@ -173,7 +173,7 @@ def generate_image_manifest(s3_file_object, record_id):
file_url = presigned_url

manifest = {
"@context": "http://iiif.io/api/presentation/2/context.json",
"@context": "https://iiif.io/api/presentation/3/context.json",
"@id": f"{url_for('main.generate_manifest', record_id=record_id, _external=True)}",
"@type": "sc:Manifest",
"label": filename,
Expand Down
Loading