mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-17 08:00:02 -04:00
chore: defaultFlags -> flags, sync xhr fixes
This commit is contained in:
parent
ef8735f95a
commit
00de00e7ca
5 changed files with 8 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue