Skip to content

Commit

Permalink
Fix local http error
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Dec 19, 2023
1 parent 2c24dd8 commit c06dfd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ private async void Init() {
"app.example", "assets", CoreWebView2HostResourceAccessKind.Allow);

if (!Debugger.IsAttached) {
webView.Source = new Uri("http://app.example/assets/index.html");
webView.Source = new Uri("https://app.example/assets/index.html");
}

webView.CoreWebView2.DOMContentLoaded += EventHandler;
Expand Down

0 comments on commit c06dfd9

Please sign in to comment.