@@ -208,7 +208,7 @@ private void CoreWebView2InitializationCompleted(object sender, EventArgs e)
208208 // 3. bundled with plugin
209209 var webAppInConfigFolder = Path . Combine ( SettingHelper . LocalDataPath , "webviewplus" ) ;
210210 var webAppInBundledFolder = Path . Combine ( Path . GetDirectoryName ( Assembly . GetExecutingAssembly ( ) . Location ) , "webviewplus" ) ;
211- var uri = new Uri ( "https://webviewplus/index.html" ) ;
211+ var uri = new Uri ( "https://webviewplus.mooflu.com /index.html" ) ;
212212 var webAppUrl = SettingHelper . Get < string > ( "WebAppUrl" , null , "QuickLook.Plugin.WebViewPlus" ) ;
213213 if ( webAppUrl != null )
214214 {
@@ -221,12 +221,12 @@ private void CoreWebView2InitializationCompleted(object sender, EventArgs e)
221221 if ( File . Exists ( Path . Combine ( webAppInConfigFolder , "index.html" ) ) )
222222 {
223223 ProcessHelper . WriteLog ( "QuickLook.Plugin.WebViewPlus using app from config" ) ;
224- _webView . CoreWebView2 . SetVirtualHostNameToFolderMapping ( "webviewplus" , webAppInConfigFolder , CoreWebView2HostResourceAccessKind . Allow ) ;
224+ _webView . CoreWebView2 . SetVirtualHostNameToFolderMapping ( "webviewplus.mooflu.com " , webAppInConfigFolder , CoreWebView2HostResourceAccessKind . Allow ) ;
225225 }
226226 else if ( File . Exists ( Path . Combine ( webAppInBundledFolder , "index.html" ) ) )
227227 {
228228 ProcessHelper . WriteLog ( "QuickLook.Plugin.WebViewPlus using app from plugin" ) ;
229- _webView . CoreWebView2 . SetVirtualHostNameToFolderMapping ( "webviewplus" , webAppInBundledFolder , CoreWebView2HostResourceAccessKind . Allow ) ;
229+ _webView . CoreWebView2 . SetVirtualHostNameToFolderMapping ( "webviewplus.mooflu.com " , webAppInBundledFolder , CoreWebView2HostResourceAccessKind . Allow ) ;
230230 }
231231 }
232232 _webView . Source = uri ;
0 commit comments