diff --git a/static/js/dns.mjs b/static/js/dns.mjs index 752ad53..b40adcc 100644 --- a/static/js/dns.mjs +++ b/static/js/dns.mjs @@ -451,6 +451,8 @@ class Record { if (value.slice(0, 2) == '*.') { this.data['Name'] = value.slice(2) this.data['MatchSubdomain'] = 'true' + } else if (value.slice(-11) == '._no.domain') { + this.data['Name'] = value.slice(0, -11) } else { this.data['Name'] = value this.data['MatchSubdomain'] = 'false' @@ -690,7 +692,7 @@ class Settings { constructor() {// {{{ this.settings = new Map([ ['boxed_folders', false], - ['toplevel_open', true], + ['toplevel_open', false], ]) // Read any configured settings from local storage, but keeping default value