fix: more controller patches

This commit is contained in:
Percs 2024-12-17 00:02:51 -06:00
parent 7d8669c137
commit 80592c81a7
2 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ export class ScramjetController {
pushsourcemapfn: "$scramjet$pushsourcemap", pushsourcemapfn: "$scramjet$pushsourcemap",
}, },
files: { files: {
wasm: "/scramjet.wasm.wasm", wasm: "/scramjet.wasm.js",
shared: "/scramjet.shared.js", shared: "/scramjet.shared.js",
worker: "/scramjet.worker.js", worker: "/scramjet.worker.js",
client: "/scramjet.client.js", client: "/scramjet.client.js",
@ -29,10 +29,10 @@ export class ScramjetController {
flags: { flags: {
serviceworkers: false, serviceworkers: false,
syncxhr: false, syncxhr: false,
strictRewrites: true,
naiiveRewriter: false, naiiveRewriter: false,
strictRewrites: true,
rewriterLogs: true, rewriterLogs: true,
captureErrors: true, captureErrors: false,
cleanErrors: false, cleanErrors: false,
scramitize: false, scramitize: false,
sourcemaps: false, sourcemaps: false,

2
src/types.d.ts vendored
View file

@ -26,8 +26,8 @@ import { ScramjetFrame } from "./controller/frame";
type ScramjetFlags = { type ScramjetFlags = {
serviceworkers: boolean; serviceworkers: boolean;
syncxhr: boolean; syncxhr: boolean;
strictRewrites: boolean;
naiiveRewriter: boolean; naiiveRewriter: boolean;
strictRewrites: boolean;
rewriterLogs: boolean; rewriterLogs: boolean;
captureErrors: boolean; captureErrors: boolean;
cleanErrors: boolean; cleanErrors: boolean;