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 -1
View File
@@ -1 +1,12 @@
// TODO: CodeChecker
import { API_PREFIX, PREF } from "./const";
export async function checkCode(code: string) {
const res = await fetch(`${API_PREFIX}/codes?code=${code}`, {
"method": "GET",
"cache": "no-cache"
});
if (!res.ok) {
return null;
}
return await res.json();
}