From 4c43e6a5c5b2f429cc6d0a7cff7648c5e1fdb813 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Mon, 1 Jan 2024 11:14:12 +0100 Subject: [PATCH] Fix: url config for the serve func --- archivist/apps/files/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivist/apps/files/urls.py b/archivist/apps/files/urls.py index 29ea12e..609f4a9 100644 --- a/archivist/apps/files/urls.py +++ b/archivist/apps/files/urls.py @@ -3,7 +3,7 @@ from . import views urlpatterns = [ # Add a URL pattern that captures the file path - path('submission/', views.serve_submission_file, name='serve_submission_file'), + path('/', views.serve_content_file, name='serve_content_file'), # Other URL patterns if any path('upload/', views.fileUpload, name='file_upload'), ]