diff --git a/api/portainer.go b/api/portainer.go index 3ccda4107..3d9b6be4b 100644 --- a/api/portainer.go +++ b/api/portainer.go @@ -1794,8 +1794,10 @@ const ( AssetsServerURL = "https://portainer-io-assets.sfo2.digitaloceanspaces.com" // MessageOfTheDayURL represents the URL where Portainer MOTD message can be retrieved MessageOfTheDayURL = AssetsServerURL + "/motd.json" + // ReleasesURL represents the URL used to retrieve all releases of Portainer + ReleasesURL = "https://api.github.com/repos/portainer/portainer/releases" // VersionCheckURL represents the URL used to retrieve the latest version of Portainer - VersionCheckURL = "https://api.github.com/repos/portainer/portainer/releases/latest" + VersionCheckURL = ReleasesURL + "/latest" // PortainerAgentHeader represents the name of the header available in any agent response PortainerAgentHeader = "Portainer-Agent" // PortainerAgentEdgeIDHeader represent the name of the header containing the Edge ID associated to an agent/agent cluster