From eb360f188ac9459191669c907d957c4a23b2fa71 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Thu, 26 Sep 2024 02:38:59 -0700 Subject: [PATCH] remove old insecure index.json url serving from root --- archivebox/core/urls.py | 1 - 1 file changed, 1 deletion(-) diff --git a/archivebox/core/urls.py b/archivebox/core/urls.py index 266dace0..e1dba738 100644 --- a/archivebox/core/urls.py +++ b/archivebox/core/urls.py @@ -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'), ]