all: Aggiunte varie feature e riscritte svariate cose

This commit is contained in:
2022-12-01 03:45:29 +01:00
parent bd055f484d
commit 8fdef2981d
22 changed files with 714 additions and 422 deletions
+8
View File
@@ -29,6 +29,14 @@ export const server = {
body: JSON.stringify(body),
})
return await res.json()
},
async delete(url: string) {
const res = await fetch(prependBaseUrl(url), {
method: 'DELETE',
credentials: 'include',
})
return await res.json()
},
}