wrap thumbnail
This commit is contained in:
parent
c969a9a1ce
commit
7fe68c882e
@ -45,7 +45,7 @@ proxy_server = os.environ.get("PROXY_SERVER")
|
||||
@dataclasses.dataclass
|
||||
class LinkWithType:
|
||||
upstream: str
|
||||
ctype: str
|
||||
ctype: None | str = None
|
||||
|
||||
|
||||
class ProxyCreateLink(pydantic.BaseModel):
|
||||
|
@ -138,7 +138,9 @@ class MainHandler(tornado.web.RequestHandler):
|
||||
upstream=provider_data.upstream(),
|
||||
ctype=provider_data.proxy_ctype(),
|
||||
),
|
||||
provider_data.thumbnail(),
|
||||
config.LinkWithType(
|
||||
upstream=provider_data.thumbnail(),
|
||||
),
|
||||
]
|
||||
)
|
||||
video_info["upstream"] = proxied[0]
|
||||
|
Loading…
Reference in New Issue
Block a user