thanks chatgpt
All checks were successful
Docker Build / Build and Push Images (push) Successful in 34s

This commit is contained in:
Seaswimmer 2024-08-03 01:46:36 -04:00
parent 5da2540aee
commit d6dfe8070a
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -78,7 +78,7 @@ async def handle_artifact(artifact_name: str):
artifact_url = f"{task}/artifacts/{artifact_name}" artifact_url = f"{task}/artifacts/{artifact_name}"
artifact_data = await fetch_artifact(artifact_url) artifact_data = await fetch_artifact(artifact_url)
response = Response(artifact_data) response = Response(artifact_data)
response.headers['Content-Disposition'] = f'attachment; filename="{artifact_name}.zip"' response.headers['Content-Disposition'] = 'attachment; filename="GalacticFactory.zip"'
return response return response
def create_handle_artifact(artifact_name: str): def create_handle_artifact(artifact_name: str):