diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-04 19:00:11 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:58 +0200 |
commit | 804a30bffb5b66b3ee58c30fe5641d27b083b6fb (patch) | |
tree | d375fa5ed3113ba199fa9d1957cc51cb29c5d753 /src | |
parent | bca6bb2d6e00188c516c91d38ff8a67d0544cf22 (diff) |
Use my own domain instead of gitlab for packages
Diffstat (limited to 'src')
-rw-r--r-- | src/Package.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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<PackageMetadata> Package::getPackage(const char *packageName, const PackageVersionRange &versionRange, Platform platform) { - Result<Document*> packageList = Package::getPackageList("https://gitlab.com/DEC05EBA/sibs_packages/raw/master/packages.json"); + Result<Document*> packageList = Package::getPackageList("https://git.dec05eba.com/sibs-packages/plain/packages.json"); if(!packageList) return Result<PackageMetadata>::Err(packageList); |