Add: serve_file api url route

This commit is contained in:
Aroy-Art 2025-03-13 10:04:48 +01:00
parent 163a3e3b6f
commit 295740c84d
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -7,4 +7,5 @@ urlpatterns = [
path("user/", include("api.user.urls")), path("user/", include("api.user.urls")),
path("posts/", include("api.posts.urls")), path("posts/", include("api.posts.urls")),
path("creators/", include("api.creators.urls")), path("creators/", include("api.creators.urls")),
path("files/<str:file_hash>/", serve_content_file, name="serve_file"),
] ]