Add an ability to enable/disable nscd (#3652)

This commit is contained in:
Louis Lam
2023-08-28 16:15:48 +08:00
committed by GitHub
parent 0c40f02584
commit cd79df07e1
7 changed files with 69 additions and 6 deletions

View File

@@ -82,7 +82,7 @@
<option value="redis">
Redis
</option>
<option value="tailscale-ping">
<option v-if="$root.info.isContainer" value="tailscale-ping">
Tailscale Ping
</option>
</optgroup>

View File

@@ -163,6 +163,10 @@ export default {
this.settings.entryPage = "dashboard";
}
if (this.settings.nscd === undefined) {
this.settings.nscd = true;
}
if (this.settings.dnsCache === undefined) {
this.settings.dnsCache = false;
}