feat: use sets.pizzaboxer.xyz for deprecated InsertAsset endpoint
This commit is contained in:
parent
caf3674b00
commit
8af635f047
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#define ALLOWED_WILDCARD_DOMAINS "kiseki.loc", "kiseki.lol", "rbxcdn.com", "roblox.com"
|
||||
#define ALLOWED_DOMAINS
|
||||
#define ALLOWED_DOMAINS "sets.pizzaboxer.xyz"
|
||||
#define ALLOWED_SCHEMES "http", "https"
|
||||
#define ALLOWED_EMBEDDED_SCHEMES "javascript", "jscript", "res"
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,11 @@ void __fastcall Http__httpGetPostWinInet_hook(Http* _this, void*, bool isPost, i
|
|||
|
||||
if (url["host"] == "roblox.com" || url["host"] == "www.roblox.com")
|
||||
{
|
||||
if (url["path"] == "/asset" || url["path"] == "/asset/" || url["path"] == "/asset/default.ashx")
|
||||
if (url["path"] == "/game/tools/insertasset.ashx")
|
||||
{
|
||||
_changed.url = "https://sets.pizzaboxer.xyz/" + url["path"] + "?" + url["query"];
|
||||
}
|
||||
else if (url["path"] == "/asset" || url["path"] == "/asset/" || url["path"] == "/asset/default.ashx")
|
||||
{
|
||||
_changed.url = "https://assetdelivery.roblox.com/v1/asset/?" + url["query"];
|
||||
_this = &_changed;
|
||||
|
|
|
|||
Loading…
Reference in New Issue