feat: 絵文字のサイズ削減したい
This commit is contained in:
		
							parent
							
								
									cd45dfcc1a
								
							
						
					
					
						commit
						523bdc295c
					
				|  | @ -284,7 +284,7 @@ export class FileServerService { | |||
| 				} else { | ||||
| 					const data = (await sharpBmp(file.path, file.mime, { animated: !('static' in request.query) })) | ||||
| 						.resize({ | ||||
| 							height: 'emoji' in request.query ? 128 : 320, | ||||
| 							height: 'emoji' in request.query ? 64 : 128, | ||||
| 							withoutEnlargement: true, | ||||
| 						}) | ||||
| 						.webp(webpDefault); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue