mirror of
				https://github.com/Kakune55/ComiPy.git
				synced 2025-11-04 06:24:40 +08:00 
			
		
		
		
	Merge branch 'dev' of https://github.com/Kakune55/ComiPy into dev
This commit is contained in:
		@@ -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")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user