From c06dfd971ede3d4b651d9c235f61875ec69245eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C5=91rik=20Levente?= Date: Tue, 19 Dec 2023 23:25:27 +0100 Subject: [PATCH] Fix local http error --- core/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/MainWindow.xaml.cs b/core/MainWindow.xaml.cs index e2ace08..3c8b671 100644 --- a/core/MainWindow.xaml.cs +++ b/core/MainWindow.xaml.cs @@ -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;