Gallery-Archivist/archivist/apps/files/urls.py

10 lines
311 B
Python
Raw Normal View History

2023-12-28 19:18:21 +01:00
from django.urls import re_path, path
from . import views
urlpatterns = [
# Add a URL pattern that captures the file path
2024-01-01 11:14:12 +01:00
path('<folder>/<str:file_hash>', views.serve_content_file, name='serve_content_file'),
2023-12-28 19:18:21 +01:00
# Other URL patterns if any
path('upload/', views.fileUpload, name='file_upload'),
]