diff options
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); |