Skip to content

Commit e6f6cf5

Browse files
test
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
1 parent 3b5d7d0 commit e6f6cf5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • code/src/vs/workbench/contrib/webview/browser/pre

code/src/vs/workbench/contrib/webview/browser/pre/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
}
240240

241241
const swPath = encodeURI(`service-worker.js?v=${expectedWorkerVersion}&vscode-resource-base-authority=${searchParams.get('vscode-resource-base-authority')}&remoteAuthority=${searchParams.get('remoteAuthority') ?? ''}`);
242-
navigator.serviceWorker.register(swPath, { type: 'module' })
242+
navigator.serviceWorker.register(swPath)
243243
.then(async registration => {
244244
/**
245245
* @param {MessageEvent} event

0 commit comments

Comments
 (0)