From 804a30bffb5b66b3ee58c30fe5641d27b083b6fb Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 4 Jul 2020 19:00:11 +0200 Subject: Use my own domain instead of gitlab for packages --- src/Package.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Package.cpp b/src/Package.cpp index 925de82..a2c1681 100644 --- a/src/Package.cpp +++ b/src/Package.cpp @@ -10,6 +10,8 @@ using namespace std; using namespace rapidjson; +// Cache of package list, only stored in memory right now. +// TODO: Store this in a file as well, and update it when the remote package list updates static Document *packageList = nullptr; namespace sibs @@ -134,7 +136,7 @@ namespace sibs Result Package::getPackage(const char *packageName, const PackageVersionRange &versionRange, Platform platform) { - Result packageList = Package::getPackageList("https://gitlab.com/DEC05EBA/sibs_packages/raw/master/packages.json"); + Result packageList = Package::getPackageList("https://git.dec05eba.com/sibs-packages/plain/packages.json"); if(!packageList) return Result::Err(packageList); -- cgit v1.2.3