mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Fix: policy should be re-dispatch while getting thumbnails
This commit is contained in:
@@ -146,6 +146,8 @@ func (fs *FileSystem) dispatchHandler() error {
|
||||
|
||||
// 根据存储策略类型分配适配器
|
||||
switch policyType {
|
||||
case "mock":
|
||||
return nil
|
||||
case "local":
|
||||
fs.Handler = local.Handler{
|
||||
Policy: currentPolicy,
|
||||
|
||||
Reference in New Issue
Block a user