mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
wireguard: filter .local addresses from showClient view
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
df7793916c
commit
59329169e4
1 file changed
+1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user