Refactor poster URLs to use separate host for images

This commit is contained in:
mhdzumair
2024-05-12 23:55:42 +05:30
parent 9a0626b6a1
commit cf2ee1f5fe
5 changed files with 16 additions and 10 deletions
+2 -2
View File
@@ -60,8 +60,8 @@ app.add_middleware(middleware.UserDataMiddleware)
TEMPLATES = Jinja2Templates(directory="resources")
DELETE_ALL_META = schemas.Meta(
**const.DELETE_ALL_WATCHLIST_META,
poster=f"{settings.host_url}/static/images/delete_all_poster.jpg",
background=f"{settings.host_url}/static/images/delete_all_background.png",
poster=f"{settings.poster_host_url}/static/images/delete_all_poster.jpg",
background=f"{settings.poster_host_url}/static/images/delete_all_background.png",
)
DELETE_ALL_META_ITEM = {