👷 update url

This commit is contained in:
Vladislav Nepogodin 2022-03-14 01:09:26 +04:00
parent 87d8a4aaf7
commit 02a4b195b3
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -74,7 +74,7 @@ namespace utils {
bool is_connected() noexcept {
#ifdef NDEVENV
/* clang-format off */
auto r = cpr::Get(cpr::Url{"https://cachyos.org"},
auto r = cpr::Get(cpr::Url{"https://wiki.cachyos.org"},
cpr::Timeout{1000});
/* clang-format on */
return cpr::status::is_success(static_cast<std::int32_t>(r.status_code)) || cpr::status::is_redirect(static_cast<std::int32_t>(r.status_code));