mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-01-11 22:40:32 +00:00
Allow CORS
This commit is contained in:
parent
f175e10b5d
commit
32a26352ed
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