mirror of
https://github.com/Pixeval/Pixeval.git
synced 2025-01-09 04:09:57 +08:00
Rollback the WebView2 version due to the invalidation of Security.setIgnoreCertificateErrors
This commit is contained in:
parent
d6c50c25f3
commit
2517c1fa32
@ -81,7 +81,7 @@ namespace Pixeval.LoginProxy
|
||||
AdditionalBrowserArguments = $"--proxy-server=127.0.0.1:{port}"
|
||||
})
|
||||
);
|
||||
await LoginWebView.CoreWebView2.CallDevToolsProtocolMethodAsync("Security.setIgnoreCertificateErrors", @"{ ""ignore"": true }");
|
||||
await LoginWebView.CoreWebView2.CallDevToolsProtocolMethodAsync("Security.setIgnoreCertificateErrors", "{ \"ignore\": true }");
|
||||
LoginWebView.CoreWebView2.AddWebResourceRequestedFilter("*", CoreWebView2WebResourceContext.All);
|
||||
LoginWebView.CoreWebView2.WebResourceRequested += (_, args) =>
|
||||
{
|
||||
|
@ -13,7 +13,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.864.35" />
|
||||
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.705.50" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -6,6 +6,14 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
||||
mc:Ignorable="d">
|
||||
|
||||
|
||||
<Grid />
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
|
||||
</Grid.ColumnDefinitions>
|
||||
</Grid>
|
||||
</Page>
|
||||
|
Loading…
Reference in New Issue
Block a user