We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34796d3 commit 47dba20Copy full SHA for 47dba20
src/global.d.ts
@@ -3,5 +3,6 @@ declare global {
3
__uv: any;
4
$scramjet: any;
5
}
6
+ function $scramjetLoadController(): { ScramjetController: any };
7
8
export {};
src/utils/proxy.ts
@@ -125,6 +125,7 @@ class SW {
125
checkScripts().then(async () => {
126
this.#baremuxConn = new BareMuxConnection("/erab/worker.js");
127
await this.setTransport();
128
+ const { ScramjetController } = $scramjetLoadController();
129
this.#scramjetController = new ScramjetController({
130
prefix: "/~/scramjet/",
131
files: {
0 commit comments