First commit

This commit is contained in:
Fuhrmann 2025-02-26 09:46:13 +01:00
commit 7fe5d03a09
33 changed files with 6524 additions and 0 deletions

View file

@ -0,0 +1,8 @@
export async function request(url: string) {
const response = await fetch(url);
if (response.ok) {
return response.arrayBuffer();
} else {
throw new Error("HTTP error status: " + response.status);
}
}