From b2fc8df61cdf6dfae04a0f10aaf26f5902e5398b Mon Sep 17 00:00:00 2001 From: Peter Froud Date: Tue, 30 Aug 2022 16:11:43 -0700 Subject: [PATCH] Return wasmURL as string See https://github.com/aduh95/viz.js/issues/27 --- src/worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker.js b/src/worker.js index 2bdba5e..7714f7d 100644 --- a/src/worker.js +++ b/src/worker.js @@ -16,6 +16,6 @@ const wasmURL = initWASM({ locateFile() { - return wasmURL; + return String(wasmURL); }, }); \ No newline at end of file