mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
fix: in-app settings injection
This commit is contained in:
parent
7cd42a945c
commit
f51fbff540
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ var webview = `<webview src="${path.join(
|
|||
"../",
|
||||
"../",
|
||||
"/settings/preload.mjs"
|
||||
)}" id="inAppSettings"></webview>`;
|
||||
)}" id="inAppSettings" webpreferences="sandbox=false"></webview>`;
|
||||
|
||||
export function injectSettings() {
|
||||
document.getElementById("webviewSettingsContainer")!.innerHTML = webview;
|
||||
|
|
Loading…
Reference in a new issue