Skip to content

Commit

Permalink
fix(index): don't remove gd and geode params (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym authored Nov 14, 2024
1 parent c4f6758 commit 9151c73
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions loader/src/server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,12 +570,11 @@ ServerRequest<ServerModsList> server::getMods(ModsQuery const& query, bool useCa
// Add search params
if (query.query) {
req.param("query", *query.query);
} else {
// Target current GD version and Loader version when query is not set
req.param("gd", GEODE_GD_VERSION_STR);
req.param("geode", Loader::get()->getVersion().toNonVString());
}

req.param("gd", GEODE_GD_VERSION_STR);
req.param("geode", Loader::get()->getVersion().toNonVString());

if (query.platforms.size()) {
std::string plats = "";
bool first = true;
Expand Down

0 comments on commit 9151c73

Please sign in to comment.