mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
wireguard: Create URL for client config download action
Signed-off-by: Frederico Gomes <fredericojfgomes@gmail.com> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
8e9b2a0631
commit
ce2ce04979
@ -15,6 +15,9 @@ urlpatterns = [
|
||||
name='add-client'),
|
||||
re_path(r'^apps/wireguard/client/auto-add/$',
|
||||
views.AutoAddClientView.as_view(), name='auto-add-client'),
|
||||
re_path(r'^apps/wireguard/client/auto-add/action/download/$',
|
||||
views.ClientActionsView.as_view(action='download'),
|
||||
name='auto-add-client-download'),
|
||||
re_path(r'^apps/wireguard/client/(?P<public_key>[^/]+)/show/$',
|
||||
views.ShowClientView.as_view(), name='show-client'),
|
||||
re_path(r'^apps/wireguard/client/(?P<public_key>[^/]+)/edit/$',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user