mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
wireguard: filter .local addresses from showClient view
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
df7793916c
commit
59329169e4
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user