Add: url configs

This commit is contained in:
Aroy-Art 2023-12-28 19:18:21 +01:00
parent 43b7030d33
commit f55815bb29
Signed by: Aroy
GPG key ID: 583642324A1D2070
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,9 @@
from django.urls import re_path, path
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'),
# Other URL patterns if any
path('upload/', views.fileUpload, name='file_upload'),
]