Skip to content

fix(settings): show correct mDNS status in admin UI#2466

Open
dirkwa wants to merge 1 commit intoSignalK:masterfrom
dirkwa:fix-mdns-settings-display
Open

fix(settings): show correct mDNS status in admin UI#2466
dirkwa wants to merge 1 commit intoSignalK:masterfrom
dirkwa:fix-mdns-settings-display

Conversation

@dirkwa
Copy link
Contributor

@dirkwa dirkwa commented Mar 17, 2026

Fixes #1531

mDNS runs by default (only disabled when explicitly set to false), but the settings GET endpoint used app.config.settings.mdns || false, which returned false when the setting was never configured. This made the admin UI toggle show "Off" for a service that was actually running. Changed to use the same isUndefined() || pattern already used by other default-on settings like accessLogging.

mDNS is on by default (only disabled when explicitly set to false),
but the settings endpoint returned false when the setting was
undefined, making the UI show "off" for a service that was running.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mdns shows off in the ui even if it is on

1 participant