holy shit

This commit is contained in:
LionTion committed 2026-10-15 15:14:06 +02:00
1 parent a526a24e7c
commit b5e5cc502d
20 files changed
+286 -209

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { API_PREFIX } from "./const";
export async function heartbeat(data: any, code: string) {
const res = await fetch(`${API_PREFIX}/sessions?code=${code}`,
{
"method": "POST",
"cache": "no-cache",
"body": JSON.stringify(data)
}
);
return res;
}