fix: in-app settings injection

This commit is contained in:
smartfrigde 2024-05-15 21:06:41 +02:00
parent 7cd42a945c
commit f51fbff540

View file

@ -15,7 +15,7 @@ var webview = `<webview src="${path.join(
"../", "../",
"../", "../",
"/settings/preload.mjs" "/settings/preload.mjs"
)}" id="inAppSettings"></webview>`; )}" id="inAppSettings" webpreferences="sandbox=false"></webview>`;
export function injectSettings() { export function injectSettings() {
document.getElementById("webviewSettingsContainer")!.innerHTML = webview; document.getElementById("webviewSettingsContainer")!.innerHTML = webview;