R7, R2, Heartbeat, Sessions, Code, cleanup, Outro
This commit is contained in:
1 parent
b5e5cc502d
commit
5b9fe3ea21
25 files changed
+346
-116
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { API_PREFIX, PREF } from "./const";
|
||||
import { API_PREFIX, HTTP_SCHEME, PREF } from "./const";
|
||||
|
||||
export async function checkCode(code: string) {
|
||||
const res = await fetch(`${API_PREFIX}/codes?code=${code}`, {
|
||||
const res = await fetch(`${HTTP_SCHEME}://${API_PREFIX}/codes?code=${code}`, {
|
||||
"method": "GET",
|
||||
"cache": "no-cache"
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user