Fix: url config for the serve func
This commit is contained in:
parent
700548d63b
commit
4c43e6a5c5
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ from . import views
|
|||
|
||||
urlpatterns = [
|
||||
# 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
|
||||
path('upload/', views.fileUpload, name='file_upload'),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue