diff --git a/src/ts/storage/nodeStorage.ts b/src/ts/storage/nodeStorage.ts index 22647642..7c76d7ef 100644 --- a/src/ts/storage/nodeStorage.ts +++ b/src/ts/storage/nodeStorage.ts @@ -66,7 +66,7 @@ export class NodeStorage{ } async removeItem(key:string){ await this.checkAuth() - const da = await fetch('/api/list', { + const da = await fetch('/api/remove', { method: "GET", headers: { 'file-path': Buffer.from(key, 'utf-8').toString('hex'),