wireguard: filter .local addresses from showClient view

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Frederico Gomes 2026-02-06 19:36:10 +00:00 committed by Sunil Mohan Adapa
parent df7793916c
commit 59329169e4
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -102,6 +102,7 @@ class ShowClientView(SuccessMessageMixin, TemplateView):
context['endpoints'] = [
domain + ':' + str(server_info['listen_port'])
for domain in domains
if not domain.endswith('.local')
]
return context