From 211427cb34ab93d81c79778674951746f7ab636f Mon Sep 17 00:00:00 2001 From: Nicolas Lepage <19571875+nlepage@users.noreply.github.com> Date: Fri, 22 Jan 2021 00:05:38 +0100 Subject: [PATCH] :alembic: --- sw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw.js b/sw.js index e3c54e1..5593c6e 100644 --- a/sw.js +++ b/sw.js @@ -11,7 +11,7 @@ self.wasmhttp = { }, } -function registerWasmHTTPListener(wasm, base, args) { +function registerWasmHTTPListener(wasm, base, args = []) { let path = new URL(registration.scope).pathname if (base && base !== '') path = `${trimEnd(path, '/')}/${trimStart(base, '/')}`