Skip to content

Commit

Permalink
add user agent to downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
qimiko committed Sep 5, 2024
1 parent 0da9316 commit adfc942
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions loader/src/server/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ class ModDownload::Impl final {
});

auto req = web::WebRequest();
req.userAgent(getServerUserAgent());
m_downloadListener.setFilter(req.get(version.downloadURL));
ModDownloadEvent(m_id).post();
}
Expand Down

0 comments on commit adfc942

Please sign in to comment.