mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
16 lines
395 B
Python
16 lines
395 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""
|
|
URLs for the disks module.
|
|
"""
|
|
|
|
from django.conf.urls import url
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
url(r'^sys/storage/$', views.StorageAppView.as_view(), name='index'),
|
|
url(r'^sys/storage/expand$', views.expand, name='expand'),
|
|
url(r'^sys/storage/eject/(?P<device_path>[A-Za-z0-9%_.\-~]+)/$',
|
|
views.eject, name='eject')
|
|
]
|