mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
👷 update url
This commit is contained in:
parent
87d8a4aaf7
commit
02a4b195b3
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user