Add: serve_file api url route
This commit is contained in:
parent
163a3e3b6f
commit
295740c84d
1 changed files with 1 additions and 0 deletions
|
@ -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"),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue