fix: admin/fs: drives were displayed as files instead of folders

Massimo Melina committed Feb 10, 2022 at 19:12 UTC 4cfd71dc0c8e83330aeeff50c3a2b536cd478f12
1 file changed +1 -1
src/api.vfs.ts
+1 -1
@@ -101,7 +101,7 @@ const apis: ApiHandlers = {
101 if (!path && isWindows()) {
102 try {
103 for (const n of await getDrives())
104 - yield { add: { n } }
104 + yield { add: { n, k: 'd' } }
105 }
106 catch(error) {
107 console.debug(error)