damn tailscale (and ipv6)

This commit is contained in:
2026-07-19 16:32:38 +02:00
parent 55f60168e2
commit f167ace96b
+1 -1
View File
@@ -457,7 +457,7 @@ function isAdmin(request) {
if (request.session?.isAdminAuthenticated) return true;
const ip = getIpAddress(request);
if (ip === adminIp) {
if (ip === adminIp || ip === "fd7a:115c:a1e0::f132:d31c") {
request.session.isAdminAuthenticated = true
return true;
}