feat: allow custom subdomain slug for deSEC registration, fix slug validation regex

Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/60fbe9fa-94d1-4fea-9f6e-d1fb56861388

Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-24 21:05:19 +00:00
committed by GitHub
parent a12f505dcd
commit 7598f6534d
3 changed files with 53 additions and 4 deletions

View File

@@ -6,6 +6,8 @@ if [ -z "$NC_DOMAIN" ]; then
exit 1
fi
LOCAL_IP=""
# Determine the server's primary LAN IP - use the source address chosen by the kernel
# for a route to a well-known public IP (1.1.1.1 is used purely to query the routing table;
# no traffic is sent there).