Skip to content

Commit

Permalink
Hardcode site url
Browse files Browse the repository at this point in the history
  • Loading branch information
blagojabozinovski committed May 17, 2024
1 parent 1bf90c1 commit 718dbe6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckanext/validation/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def run_validation_job(resource):
upload = uploader.get_resource_uploader(resource)
if isinstance(upload, uploader.ResourceUpload):
source = upload.get_path(resource['id'])
source = source.replace(config.get('ckan.site_url'), "http://localhost:5000")
else:
# Upload is not the default implementation (ie it's a cloud storage
# implementation)
Expand Down

0 comments on commit 718dbe6

Please sign in to comment.