mirror of
https://github.com/iptv-org/iptv.git
synced 2025-06-18 18:23:35 +08:00
Update storage.ts
This commit is contained in:
parent
de7594a5cc
commit
f7fcb87d28
@ -7,7 +7,7 @@ export class Storage {
|
||||
rootDir: string
|
||||
|
||||
constructor(rootDir?: string) {
|
||||
this.rootDir = rootDir || './'
|
||||
this.rootDir = path.normalize(rootDir || './')
|
||||
}
|
||||
|
||||
list(pattern: string): Promise<string[]> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user