1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-12 01:24:53 +02:00

remove old insecure index.json url serving from root

This commit is contained in:
Nick Sweeting
2024-09-26 02:38:59 -07:00
parent d8a9dca0f6
commit eb360f188a

View File

@@ -48,7 +48,6 @@ urlpatterns = [
# path('jet_api/', include('jet_django.urls')), Enable to use https://www.jetadmin.io/integrations/django
path('index.html', RedirectView.as_view(url='/')),
path('index.json', static.serve, {'document_root': settings.CONFIG.OUTPUT_DIR, 'path': 'index.json'}),
path('', HomepageView.as_view(), name='Home'),
]