diff --git a/Services/client/src/stores/storage.ts b/Services/client/src/stores/storage.ts index b41b2dd..0c464d6 100644 --- a/Services/client/src/stores/storage.ts +++ b/Services/client/src/stores/storage.ts @@ -355,7 +355,7 @@ const useStorage = defineStore('storageStore', () => { const arrayPath: string[] = path.split('/').filter(Boolean) await api.post(`${import.meta.env.VITE_API_ENDPOINT}storage/folder`, { path: arrayPath, - name: name.replace(/^./, ''), + name: name.replace(/^\./, ''), }) } loader.hide()