change the route name for artifact downloads so prismlauncher uses the correct instance name
All checks were successful
Docker Build / Build and Push Images (push) Successful in 28s

This commit is contained in:
Seaswimmer 2024-08-03 12:45:49 -04:00
parent d6dfe8070a
commit 06d923e042
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -87,7 +87,7 @@ def create_handle_artifact(artifact_name: str):
return handle_artifact_async return handle_artifact_async
for artifact_name in config.artifact_names: for artifact_name in config.artifact_names:
route = f'/{artifact_name}' route = f'/{artifact_name}/GalacticFactory'
endpoint = f'handle_{artifact_name}' endpoint = f'handle_{artifact_name}'
app.add_url_rule(route, view_func=create_handle_artifact(artifact_name), endpoint=endpoint) app.add_url_rule(route, view_func=create_handle_artifact(artifact_name), endpoint=endpoint)