From d6dfe8070a886867d414d3ec81637e0c5952a03b Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Sat, 3 Aug 2024 01:46:36 -0400 Subject: [PATCH] thanks chatgpt --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 97fff07..387e203 100644 --- a/src/main.py +++ b/src/main.py @@ -78,7 +78,7 @@ async def handle_artifact(artifact_name: str): artifact_url = f"{task}/artifacts/{artifact_name}" artifact_data = await fetch_artifact(artifact_url) response = Response(artifact_data) - response.headers['Content-Disposition'] = f'attachment; filename="{artifact_name}.zip"' + response.headers['Content-Disposition'] = 'attachment; filename="GalacticFactory.zip"' return response def create_handle_artifact(artifact_name: str):