Added gitignore

This commit is contained in:
2022-10-20 21:46:33 +02:00
commit 8ca54cde57
35 changed files with 4774 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
export async function fetchCount(amount = 1): Promise<{ data: number }> {
const response = await fetch('/api/counter', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ amount }),
})
const result = await response.json()
return result
}