mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-06 00:47:09 +00:00
fix: browser insecurity warning
This commit is contained in:
@@ -24,7 +24,6 @@ func OpenBrowserWindow(url string, fullscreen bool, profile string) error {
|
|||||||
fmt.Sprintf("--app=%s", url),
|
fmt.Sprintf("--app=%s", url),
|
||||||
"--autoplay-policy=no-user-gesture-required",
|
"--autoplay-policy=no-user-gesture-required",
|
||||||
fmt.Sprintf("--user-data-dir=%s", browserProfileDirPath),
|
fmt.Sprintf("--user-data-dir=%s", browserProfileDirPath),
|
||||||
"--disable-web-security",
|
|
||||||
"--allow-running-insecure-content",
|
"--allow-running-insecure-content",
|
||||||
"--disable-features=XFrameOptions",
|
"--disable-features=XFrameOptions",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user