mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-17 15:13:24 +02:00
fix: update image endpoint
This commit is contained in:
@@ -112,8 +112,10 @@ api_app.include_router(movies_router.router, prefix="/movies", tags=["movie"])
|
||||
api_app.include_router(
|
||||
notification_router, prefix="/notification", tags=["notification"]
|
||||
)
|
||||
api_app.mount(
|
||||
"/static/image",
|
||||
|
||||
# serve static image files
|
||||
app.mount(
|
||||
"/api/v1/static/image",
|
||||
StaticFiles(directory=config.misc.image_directory),
|
||||
name="static-images",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user