fix: regex
This commit is contained in:
parent
a64d93824f
commit
ec1bc81b88
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ const useStorage = defineStore('storageStore', () => {
|
||||||
const arrayPath: string[] = path.split('/').filter(Boolean)
|
const arrayPath: string[] = path.split('/').filter(Boolean)
|
||||||
await api.post(`${import.meta.env.VITE_API_ENDPOINT}storage/folder`, {
|
await api.post(`${import.meta.env.VITE_API_ENDPOINT}storage/folder`, {
|
||||||
path: arrayPath,
|
path: arrayPath,
|
||||||
name: name.replace(/^./, ''),
|
name: name.replace(/^\./, ''),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
loader.hide()
|
loader.hide()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue