From c6a887b34e208d9be037d6927fc003b39248001a Mon Sep 17 00:00:00 2001 From: Tessa Walsh Date: Thu, 14 Mar 2024 12:50:31 -0400 Subject: [PATCH] Use browsertrix-cloud-frontend.default for presigned urls --- backend/btrixcloud/storages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/btrixcloud/storages.py b/backend/btrixcloud/storages.py index 34955b64a..69a21745e 100644 --- a/backend/btrixcloud/storages.py +++ b/backend/btrixcloud/storages.py @@ -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] = [ @@ -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] = [