Events not fully intercepted

This commit is contained in:
Beat YT 2024-02-13 21:24:15 -05:00 committed by GitHub
parent 9233bb234a
commit e9a26e912c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -148,7 +148,7 @@ namespace Partypacker.Net
oSession.utilCreateResponseAndBypassServer(); oSession.utilCreateResponseAndBypassServer();
oSession.responseCode = 204; oSession.responseCode = 204;
return; return;
} else if (oSession.PathAndQuery.Contains("/api/v2/games/FNFestival/leaderboards/")) { } else if (oSession.PathAndQuery.StartsWith("/api/v2/games/FNFestival/leaderboards/") || oSession.PathAndQuery.StartsWith("/api/v1/leaderboards/FNFestival/")) {
oSession.utilCreateResponseAndBypassServer(); oSession.utilCreateResponseAndBypassServer();
oSession.responseCode = 404; oSession.responseCode = 404;
return; return;