[FIX] invalid removeItem address
This commit is contained in:
@@ -66,7 +66,7 @@ export class NodeStorage{
|
|||||||
}
|
}
|
||||||
async removeItem(key:string){
|
async removeItem(key:string){
|
||||||
await this.checkAuth()
|
await this.checkAuth()
|
||||||
const da = await fetch('/api/list', {
|
const da = await fetch('/api/remove', {
|
||||||
method: "GET",
|
method: "GET",
|
||||||
headers: {
|
headers: {
|
||||||
'file-path': Buffer.from(key, 'utf-8').toString('hex'),
|
'file-path': Buffer.from(key, 'utf-8').toString('hex'),
|
||||||
|
|||||||
Reference in New Issue
Block a user