diff --git a/borgweb/borg/urls.py b/borgweb/borg/urls.py index 70ba348..dc682e1 100644 --- a/borgweb/borg/urls.py +++ b/borgweb/borg/urls.py @@ -4,9 +4,8 @@ from django.views.decorators.cache import cache_page from . import views urlpatterns = [ - # Pages + # Index Page path('', cache_page(60)(views.index), name='index'), - path('repo/', cache_page(60)(views.repo), name='repo'), path('repo-list.json', cache_page(60)(views.repo_list_json), name='repo list'), @@ -19,6 +18,9 @@ urlpatterns = [ path('repo//recent-errors.json', cache_page(60)(views.repo_recent_errors_json), name='repo recent errors json'), + # Repo page + path('repo/', cache_page(60)(views.repo), name='repo'), + # POST path('post/repo', views.post_repo, name='post repo'), path('post/archive', views.post_archive, name='post archive'),