thanks chatgpt
All checks were successful
Docker Build / Build and Push Images (push) Successful in 34s
All checks were successful
Docker Build / Build and Push Images (push) Successful in 34s
This commit is contained in:
parent
5da2540aee
commit
d6dfe8070a
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue