This commit is contained in:
sadnub 2022-03-13 16:18:52 -04:00
parent 09192da4fc
commit cf837b6d05
1 changed files with 3 additions and 1 deletions

View File

@ -335,7 +335,9 @@ class MeshExe(APIView):
if settings.DOCKER_BUILD:
dl_url = f"{settings.MESH_WS_URL.replace('ws://', 'http://')}/meshagents?id={arch}&meshid={mesh_id}&installflags=0"
else:
dl_url = f"{core.mesh_site}/meshagents?id={arch}&meshid={mesh_id}&installflags=0"
dl_url = (
f"{core.mesh_site}/meshagents?id={arch}&meshid={mesh_id}&installflags=0"
)
try:
return download_mesh_agent(dl_url)