From 96f3a90ab94682a711095d12d2eef1682575e28e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20=C3=85hall?= Date: Thu, 26 Feb 2026 09:17:48 +0100 Subject: [PATCH] Fixed creating records beneath _no.domain --- static/js/dns.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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