mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
22 lines
611 B
Python
22 lines
611 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""
|
|
URLs for the email module.
|
|
"""
|
|
|
|
from django.urls import path, re_path
|
|
from stronghold.decorators import public
|
|
|
|
from freedombox.utils import non_admin_view
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('apps/email/', views.EmailAppView.as_view(), name='index'),
|
|
re_path('apps/email/dns/(?P<domain>[^/]+)/$', views.DnsView.as_view(),
|
|
name='dns'),
|
|
path('apps/email/aliases/', non_admin_view(views.AliasView.as_view()),
|
|
name='aliases'),
|
|
path('apps/email/config.xml', public(views.XmlView.as_view()),
|
|
name='config-xml'),
|
|
]
|