Skip to content

Commit c190cb4

Browse files
committed
fix: invalid chrome-extension URL construction
1 parent 9aa62be commit c190cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shell/browser/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class TabbedBrowserWindow {
4242
this.id = this.window.id
4343
this.webContents = this.window.webContents
4444

45-
const webuiUrl = path.join('chrome-extension://', webuiExtensionId, '/webui.html')
45+
const webuiUrl = `chrome-extension://${webuiExtensionId}/webui.html`
4646
this.webContents.loadURL(webuiUrl)
4747

4848
this.tabs = new Tabs(this.window)

0 commit comments

Comments
 (0)