mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
add option to switch mDNS off/on
This commit is contained in:
@@ -56,7 +56,8 @@ const WiFiSettingsForm: FC = () => {
|
||||
enableIPv6: false,
|
||||
bandwidth20: false,
|
||||
tx_power: 20,
|
||||
nosleep: false
|
||||
nosleep: false,
|
||||
enableMDNS: true
|
||||
});
|
||||
}
|
||||
setInitialized(true);
|
||||
@@ -153,6 +154,11 @@ const WiFiSettingsForm: FC = () => {
|
||||
label="Use Lower WiFi Bandwidth"
|
||||
/>
|
||||
|
||||
<BlockFormControlLabel
|
||||
control={<Checkbox name="enableMDNS" checked={data.enableMDNS} onChange={updateFormValue} />}
|
||||
label="Enable mDNS Service"
|
||||
/>
|
||||
|
||||
<Typography sx={{ pt: 2 }} variant="h6" color="primary">
|
||||
General
|
||||
</Typography>
|
||||
|
||||
Reference in New Issue
Block a user