mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-07-13 18:24:16 +00:00
remove two-socket download
This commit is contained in:
@@ -127,7 +127,7 @@ void TResourceManager::RefreshFiles() {
|
||||
}
|
||||
beammp_debugf("sha256('{}'): {}", File, result);
|
||||
mMods.push_back(nlohmann::json {
|
||||
{ "file_name", File },
|
||||
{ "file_name", std::filesystem::path(File).filename() },
|
||||
{ "file_size", Read },
|
||||
{ "hash_algorithm", "sha256" },
|
||||
{ "hash", result },
|
||||
|
||||
Reference in New Issue
Block a user