Skip to content

Commit

Permalink
Use browsertrix-cloud-frontend.default for presigned urls
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Mar 14, 2024
1 parent ee764dc commit c6a887b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/btrixcloud/storages.py
Expand Up @@ -597,7 +597,7 @@ def organize_based_on_instance_number(
for wacz_file in instance_list:
wacz_url = wacz_file.path
if wacz_url.startswith("/data"):
wacz_url = f"http://host.docker.internal:30870{wacz_url}"
wacz_url = f"http://browsertrix-cloud-frontend.default{wacz_url}"

with RemoteZip(wacz_url) as remote_zip:
log_files: List[ZipInfo] = [
Expand Down Expand Up @@ -645,7 +645,7 @@ def stream_page_lines(
for wacz_file in wacz_files:
wacz_url = wacz_file.path
if wacz_url.startswith("/data"):
wacz_url = f"http://host.docker.internal:30870{wacz_url}"
wacz_url = f"http://browsertrix-cloud-frontend.default{wacz_url}"

with RemoteZip(wacz_url) as remote_zip:
page_files: List[ZipInfo] = [
Expand Down

0 comments on commit c6a887b

Please sign in to comment.