PresetArchiveDatabase: set preset repo api server URL to linbuilder REVERT BEFORE MERGING to master

This commit is contained in:
Jan Bařtipán 2024-05-30 10:03:53 +02:00 committed by David Kocik
parent cba98ecdca
commit 2b69f5f4d5

View File

@ -666,7 +666,8 @@ bool sync_inner(std::string& manifest)
#ifdef SLIC3R_REPO_URL
std::string url = SLIC3R_REPO_URL;
#else
std::string url = "https://preset-repo-api.prusa3d.com/v1/repos"/*"https://preset-repo-api-stage.prusa3d.com/v1/repos"*/;
//std::string url = "https://preset-repo-api.prusa3d.com/v1/repos"/*"https://preset-repo-api-stage.prusa3d.com/v1/repos"*/;
std::string url = "http://10.24.3.3:8001/v1/repos";
#endif
auto http = Http::get(std::move(url));
add_authorization_header(http);