Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Sep 26, 2023
1 parent e962f1b commit fc9563f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openatlas/api/endpoints/iiif.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

def getManifest(id_):
entity = get_entity_by_id(id_)
url_root = app.config['IIIF_URL'] or f"{request.headers.get('Host')}iiif/"
url_root = app.config['IIIF_URL'] or f"{request.url_root}iiif/"
# get metadata from the image api
req = requests.get(
f"{url_root}{app.config['IIIF_PREFIX']}{id_}/info.json")
Expand Down

0 comments on commit fc9563f

Please sign in to comment.