Fix: url config for the serve func

This commit is contained in:
Aroy-Art 2024-01-01 11:14:12 +01:00
parent 700548d63b
commit 4c43e6a5c5
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -3,7 +3,7 @@ from . import views
urlpatterns = [ urlpatterns = [
# Add a URL pattern that captures the file path # Add a URL pattern that captures the file path
path('submission/<str:file_hash>', views.serve_submission_file, name='serve_submission_file'), path('<folder>/<str:file_hash>', views.serve_content_file, name='serve_content_file'),
# Other URL patterns if any # Other URL patterns if any
path('upload/', views.fileUpload, name='file_upload'), path('upload/', views.fileUpload, name='file_upload'),
] ]