mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-02 03:54:59 +08:00
fix (share): js was throwing because of an uncomplete initialisation
This commit is contained in:
@ -445,6 +445,7 @@ class FileSystem{
|
||||
};
|
||||
}
|
||||
let file = {
|
||||
path: dirname(path),
|
||||
name: basename(path),
|
||||
type: /\/$/.test(path) ? 'directory' : 'file'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user