feature/name-autocomplete #21
@ -6,6 +6,7 @@ export function GET() {
|
||||
const names = readdirSync(storagePath).filter((f) =>
|
||||
statSync(`${storagePath}/${f}`).isDirectory()
|
||||
);
|
||||
names.sort()
|
||||
|
||||
return json(names);
|
||||
}
|
||||
|
Reference in New Issue
Block a user