diff --git a/wowup-electron/src/app/components/common/webview/webview.component.ts b/wowup-electron/src/app/components/common/webview/webview.component.ts index f0d33784..3c02959b 100644 --- a/wowup-electron/src/app/components/common/webview/webview.component.ts +++ b/wowup-electron/src/app/components/common/webview/webview.component.ts @@ -56,7 +56,7 @@ export class WebViewComponent implements OnDestroy, AfterViewInit { const pageReferrer = this.options.referrer ? `httpreferrer="${this.options.referrer}"` : ""; const userAgent = this.options.userAgent ?? ""; const preload = this.options.preloadFilePath - ? `preload="${await this._fileService.getAssetFilePath(this.options.preloadFilePath)}"` + ? `preload="file://${await this._fileService.getAssetFilePath(this.options.preloadFilePath)}"` : ""; const partition = this.options.partition ?? "memcache";