mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-03-11 17:15:49 +00:00
Allow CORS
This commit is contained in:
parent
1aba122e98
commit
17ab98d0ed
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ impl PartialUi for WebView {
|
|||
let endpoint = data.endpoint.clone();
|
||||
let dev_tools = data.dev_tools.clone();
|
||||
let result = webview2::EnvironmentBuilder::new()
|
||||
.with_additional_browser_arguments("--disable-gpu --autoplay-policy=no-user-gesture-required")
|
||||
.with_additional_browser_arguments("--disable-web-security --disable-gpu --autoplay-policy=no-user-gesture-required")
|
||||
.build(move |env| {
|
||||
env.expect("Cannot obtain webview environment")
|
||||
.create_controller(hwnd, move |controller| {
|
||||
|
|
|
|||
Loading…
Reference in a new issue