mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-06 11:03:49 +08:00
🔥 remove useless code
This commit is contained in:
@@ -94,7 +94,7 @@ func GetPW(path string) string {
|
||||
if !conf.CheckParent {
|
||||
return ""
|
||||
}
|
||||
if path == "/" || path == "\\" {
|
||||
if path == "/" {
|
||||
return ""
|
||||
}
|
||||
return GetPW(utils.Dir(path))
|
||||
|
||||
Reference in New Issue
Block a user