forked from Transparency/kgroad-frontend2
For prod
This commit is contained in:
parent
566c4d4473
commit
c3a94c920f
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user