This commit is contained in:
Vladislav Khorev 2024-02-24 13:22:15 +00:00
parent 566c4d4473
commit c3a94c920f

View File

@ -13,7 +13,7 @@ const refreshToken = async (token: JWT): Promise<JWT> => {
}; };
const response = await axios.post<IToken>( const response = await axios.post<IToken>(
"https://api.kgroaduat.fishrungames.com/api/v1/token/refresh/", "https://api.kgroad.org/api/v1/token/refresh/",
data data
); );
@ -44,7 +44,7 @@ export const authConfig: AuthOptions = {
const { email, password } = credentials as any; const { email, password } = credentials as any;
const res = await fetch( const res = await fetch(
"https://api.kgroaduat.fishrungames.com/api/v1/users/login/", "https://api.kgroad.org/api/v1/users/login/",
{ {
method: "POST", method: "POST",
headers: { headers: {