mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Tests: - Enable/disable button is not shown. - List of certificates in the system is shown. - Diagnostics menu item is shown and works. - Certificate operations work. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
22 lines
675 B
Python
22 lines
675 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""
|
|
URLs for the Let's Encrypt module.
|
|
"""
|
|
|
|
from django.urls import re_path
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
re_path(r'^sys/letsencrypt/$', views.LetsEncryptAppView.as_view(),
|
|
name='index'),
|
|
re_path(r'^sys/letsencrypt/obtain/(?P<domain>[^/]+)/$', views.obtain,
|
|
name='obtain'),
|
|
re_path(r'^sys/letsencrypt/re-obtain/(?P<domain>[^/]+)/$', views.reobtain,
|
|
name='re-obtain'),
|
|
re_path(r'^sys/letsencrypt/revoke/(?P<domain>[^/]+)/$', views.revoke,
|
|
name='revoke'),
|
|
re_path(r'^sys/letsencrypt/delete/(?P<domain>[^/]+)/$', views.delete,
|
|
name='delete'),
|
|
]
|