We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b5d7d0 commit b9a70feCopy full SHA for b9a70fe
1 file changed
code/src/vs/workbench/contrib/webview/browser/pre/index.html
@@ -238,7 +238,7 @@
238
return reject(new Error('Service Workers are not enabled. Webviews will not work. Try disabling private/incognito mode.'));
239
}
240
241
- const swPath = encodeURI(`service-worker.js?v=${expectedWorkerVersion}&vscode-resource-base-authority=${searchParams.get('vscode-resource-base-authority')}&remoteAuthority=${searchParams.get('remoteAuthority') ?? ''}`);
+ const swPath = encodeURI(`service-worker.js?v=${expectedWorkerVersion}&vscode-resource-base-authority=${searchParams.get('vscode-resource-base-authority')}&id=${ID}&remoteAuthority=${searchParams.get('remoteAuthority') ?? ''}`);
242
navigator.serviceWorker.register(swPath, { type: 'module' })
243
.then(async registration => {
244
/**
0 commit comments