From 9b6b6e09ae712213e8290715cfded9d6859736a7 Mon Sep 17 00:00:00 2001 From: Daniel Cardoza Date: Sun, 3 Feb 2019 12:06:07 -0800 Subject: [PATCH] fix(endpoints): correct agent stack download url (#2667) * 2584 fix(endpoints): correct agent stack download url The directions for installing the agent stack from the endpoints view used an old url. Update to the new url. * Drop the portainer- prefix for the download path and filename Co-Authored-By: dang3r --- .../views/endpoints/create/createEndpointController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/portainer/views/endpoints/create/createEndpointController.js b/app/portainer/views/endpoints/create/createEndpointController.js index c682bee1b..e060aa4d6 100644 --- a/app/portainer/views/endpoints/create/createEndpointController.js +++ b/app/portainer/views/endpoints/create/createEndpointController.js @@ -20,7 +20,7 @@ function ($q, $scope, $state, $filter, clipboard, EndpointService, GroupService, }; $scope.copyAgentCommand = function() { - clipboard.copyText('curl -L https://portainer.io/download/agent-stack.yml -o agent-stack.yml && docker stack deploy --compose-file=agent-stack.yml portainer-agent'); + clipboard.copyText('curl -L https://downloads.portainer.io/agent-stack.yml -o agent-stack.yml && docker stack deploy --compose-file=agent-stack.yml portainer-agent'); $('#copyNotification').show(); $('#copyNotification').fadeOut(2000); };