From ff22a9d94ae9e4038d4d0be23e295b780c8ac76f Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Wed, 13 Jan 2021 22:19:09 +0000 Subject: [PATCH] fix deployments in docker --- api/tacticalrmm/clients/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tacticalrmm/clients/views.py b/api/tacticalrmm/clients/views.py index 572f7934..6a10cc0a 100644 --- a/api/tacticalrmm/clients/views.py +++ b/api/tacticalrmm/clients/views.py @@ -192,7 +192,7 @@ class GenerateAgent(APIView): if not os.path.exists(go_bin): return notify_error("Missing golang") - api = f"{request.scheme}://{request.get_host()}" + api = f"https://{request.get_host()}" inno = ( f"winagent-v{settings.LATEST_AGENT_VER}.exe" if d.arch == "64"