Compare commits
No commits in common. "patch-2" and "gui" have entirely different histories.
|
@ -137,23 +137,6 @@ namespace Partypacker.Net
|
||||||
MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev";
|
MainWindow.settings.GetValue("Launcher", "apiurl") ?? "https://partypack.mcthe.dev";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// dont let epic know things
|
|
||||||
if (oSession.HostnameIs("datarouter.ol.epicgames.com")) {
|
|
||||||
if (oSession.HTTPMethodIs("CONNECT"))
|
|
||||||
{
|
|
||||||
oSession["x-replywithtunnel"] = "FortniteTunnel";
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
oSession.utilCreateResponseAndBypassServer();
|
|
||||||
oSession.responseCode = 204;
|
|
||||||
return;
|
|
||||||
} else if (oSession.PathAndQuery.StartsWith("/api/v2/games/FNFestival/leaderboards/") || oSession.PathAndQuery.StartsWith("/api/v1/leaderboards/FNFestival/")) {
|
|
||||||
oSession.utilCreateResponseAndBypassServer();
|
|
||||||
oSession.responseCode = 404;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (oSession.PathAndQuery.Contains("/content/api/pages/fortnite-game")
|
if (oSession.PathAndQuery.Contains("/content/api/pages/fortnite-game")
|
||||||
|| oSession.HostnameIs("cdn.qstv.on.epicgames.com")
|
|| oSession.HostnameIs("cdn.qstv.on.epicgames.com")
|
||||||
|| oSession.PathAndQuery.Contains("/master.blurl")
|
|| oSession.PathAndQuery.Contains("/master.blurl")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user