mirror of
https://github.com/1f349/admin.1f349.com.git
synced 2025-02-22 05:24:57 +00:00
Do POST request for /verify
This commit is contained in:
parent
db46ef716c
commit
075f21a9a3
@ -36,5 +36,9 @@ export async function apiRequest(url: string, init?: RequestInit): Promise<Respo
|
||||
}
|
||||
|
||||
export async function apiVerify() {
|
||||
return await apiRequest(TOKEN_VERIFY_API);
|
||||
return await apiRequest(TOKEN_VERIFY_API, {
|
||||
method: "POST",
|
||||
mode: "cors",
|
||||
cache: "no-cache",
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user