mirror of
https://github.com/Kakune55/ComiPy.git
synced 2025-05-06 18:29:26 +08:00
Merge branch 'dev' of https://github.com/Kakune55/ComiPy into dev
This commit is contained in:
commit
c9605c392f
@ -18,7 +18,7 @@ def img(bookid, index): # 图片接口
|
||||
if request.args.get("mini") == "yes":
|
||||
data = file.thumbnail(data,encode="jpg")
|
||||
else:
|
||||
data = file.thumbnail(data,1500,)
|
||||
data = file.thumbnail(data,1500)
|
||||
response = make_response(data) # 读取文件
|
||||
del data
|
||||
response.headers.set("Content-Type", "image/Webp")
|
||||
|
Loading…
x
Reference in New Issue
Block a user