mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 10:17:17 +08:00
feat: 备份优化
This commit is contained in:
@@ -81,7 +81,7 @@ func (l *Local) Put(file string, content io.Reader) error {
|
||||
}
|
||||
|
||||
// 预检查空间
|
||||
if err := l.preCheckPath(fullPath); err != nil {
|
||||
if err := l.preCheckPath(filepath.Dir(fullPath)); err != nil {
|
||||
return fmt.Errorf("pre check path failed: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user