summaryrefslogtreecommitdiff
path: root/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'main.ts')
-rw-r--r--main.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.ts b/main.ts
index 25ade14f9..10acb649f 100644
--- a/main.ts
+++ b/main.ts
@@ -7,8 +7,8 @@ import { main as pb } from "./msg.pb";
import * as runtime from "./runtime";
import * as util from "./util";
-// These have top-level functions that need to execute.
import { initTimers } from "./timers";
+import { initFetch } from "./fetch";
// To control internal logging output
// Set with the -debug command-line flag.
@@ -32,6 +32,7 @@ dispatch.sub("start", (payload: Uint8Array) => {
util.log("start", { cwd, argv, debugFlag });
initTimers();
+ initFetch();
runtime.setup(mainJs, mainMap);
const inputFn = argv[0];