feat: update reset thumbnail feature (#2854)
* update reset thumbnail feature * consolidate supported thumbnail extensions into site config; remove dedicated API * allow patching thumb ; remove Reset Thumbnail API * fix code formatting --------- Co-authored-by: Aaron Liu <abslant.liu@gmail.com>
This commit is contained in:
@@ -618,7 +618,7 @@ func initMasterRouter(dep dependency.Dep) *gin.Engine {
|
||||
controllers.ServeEntity,
|
||||
)
|
||||
}
|
||||
// 获取缩略图
|
||||
// get thumb
|
||||
file.GET("thumb",
|
||||
middleware.ContextHint(),
|
||||
controllers.FromQuery[explorer.FileThumbService](explorer.FileThumbParameterCtx{}),
|
||||
|
||||
Reference in New Issue
Block a user