create file API v2 and X-Accel-Redirect endpoint for images

This commit is contained in:
j3d1 2024-01-07 21:06:06 +01:00
parent ab5e8f36d1
commit 77828295f8
10 changed files with 164 additions and 1 deletions

View file

@ -24,6 +24,8 @@ urlpatterns = [
path('api/1/', include('inventory.api_v1')),
path('api/1/', include('files.api_v1')),
path('api/1/', include('files.media_v1')),
path('api/2/', include('files.api_v2')),
path('media/2/', include('files.media_v2')),
path('api/2/', include('authentication.api_v2')),
path('api/', get_info),
]