【发布时间】:2022-01-03 08:50:29
【问题描述】:
下面的代码在 UWP 上运行良好,
<WebView Source="https://www.microsoft.com/" VerticalAlignment="Stretch" Grid.Row="1" />
但在 WASM 中失败并出现以下错误。是否需要为 WASM 做不同的事情?有没有办法让 UNO 应用启用 CORS 以在 WebView 中使用?
dotnet.js:1 Mixed Content: The page at 'https://localhost:44342/' was
loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://[fe80::21ca:fecc:e7b9:44ae]:64237/rc'.
This request has been blocked; this endpoint must be available over WSS.
【问题讨论】:
标签: uno-platform