mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-12 11:17:49 +00:00
externals: Update cpp-httplib to latest
This commit is contained in:
parent
dbc6b21343
commit
a6a501bfe8
4 changed files with 4 additions and 4 deletions
|
@ -76,7 +76,7 @@ void DiscordImpl::Update() {
|
|||
// New Check for game cover
|
||||
httplib::Client cli(game_cover_url);
|
||||
|
||||
if (auto res = cli.Head(fmt::format("/images/game/boxart/{}.png", icon_name).c_str())) {
|
||||
if (auto res = cli.Head(fmt::format("/images/game/boxart/{}.png", icon_name))) {
|
||||
if (res->status == 200) {
|
||||
game_cover_url += fmt::format("/images/game/boxart/{}.png", icon_name);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue