Add "kcefEnabled" server setting

This commit is contained in:
schroda
2026-05-20 16:54:54 +02:00
parent c53f29b6e7
commit be0eb2fa5f
5 changed files with 33 additions and 3 deletions

View File

@@ -653,6 +653,22 @@ export const ServerSettings = () => {
/>
</ListItem>
</List>
<List
subheader={
<ListSubheader component="div" id="server-settings-webview">
{t`WebView`}
</ListSubheader>
}
>
<ListItem>
<ListItemText primary={t`WebView`} secondary={t`Enable the WebView via CEF (Chromium)`} />
<Switch
edge="end"
checked={serverSettings.kcefEnabled}
onChange={(e) => updateSetting('kcefEnabled', e.target.checked)}
/>
</ListItem>
</List>
<List
subheader={
<ListSubheader component="div" id="server-settings-misc">