From 14011bdc7a86f693409f218a8ce2c32dd8f4fe89 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 29 Jul 2018 00:26:03 +0100 Subject: Add protocol_version and supported package types to ContentDB urls --- src/content/packages.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/content/packages.h') diff --git a/src/content/packages.h b/src/content/packages.h index fc60d5703..9029475ef 100644 --- a/src/content/packages.h +++ b/src/content/packages.h @@ -39,10 +39,7 @@ struct Package type.empty() || release <= 0); } - std::string getDownloadURL(const std::string &baseURL) const - { - return baseURL + "/packages/" + author + "/" + name + "/download/"; - } + std::string getDownloadURL(const std::string &baseURL) const; }; #if USE_CURL -- cgit v1.2.3