mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-01 10:56:31 +08:00
fix (concurrency): fix concurrency problem
This commit is contained in:
@ -23,6 +23,9 @@ func NewBackend(ctx *App, conn map[string]string) (IBackend, error) {
|
||||
}
|
||||
}
|
||||
if val, ok := d["path"]; ok == true {
|
||||
if val == nil {
|
||||
val = "/"
|
||||
}
|
||||
if val != conn["path"] {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user