chore: defaultFlags -> flags, sync xhr fixes

This commit is contained in:
Percs 2024-12-11 10:43:49 -06:00
parent ef8735f95a
commit 00de00e7ca
5 changed files with 8 additions and 9 deletions

View file

@ -33,7 +33,7 @@ export default function (client: ScramjetClient, self: Self) {
if (!flagEnabled("syncxhr", client.url)) {
console.warn("ignoring request - sync xhr disabled in flags");
return;
return ctx.return(undefined);
}
// it's a sync request