Skip to content

Commit

Permalink
adjust directoy path to be relative
Browse files Browse the repository at this point in the history
  • Loading branch information
julsraemy committed Aug 26, 2024
1 parent 5d415ba commit 9d7172c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/replace-sipi-url.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def replace_urls(obj):

# Project identifier and directory path
project = '0801'
directory = f'../data/{project}' # Directory containing JSON files
directory = os.path.join(os.path.dirname(__file__), '..', 'data', project)
old_url = 'http://iiif.dasch.swiss/'
new_url = 'https://iiif.dasch.swiss/'

Expand Down

0 comments on commit 9d7172c

Please sign in to comment.