add media endpoint for XSendfile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
j3d1 2023-10-23 23:51:30 +02:00
parent cc0bdc0472
commit d411e6790d
3 changed files with 53 additions and 2 deletions

View file

@ -36,5 +36,6 @@ urlpatterns = [
path('api/', include('toolshed.api.inventory')),
path('api/', include('toolshed.api.info')),
path('api/', include('toolshed.api.files')),
path('media/', include('files.media_urls')),
path('docs/', schema_view.with_ui('swagger', cache_timeout=0), name='api-docs'),
]