added creds
This commit is contained in:
parent
fedcd9d6f9
commit
e87fb5b6b1
@ -76,6 +76,7 @@ const API_URL = `${process.env.REACT_APP_API_SCHEME}://${process.env.REACT_APP_A
|
|||||||
|
|
||||||
export const api: AxiosInstance = axios.create({
|
export const api: AxiosInstance = axios.create({
|
||||||
baseURL: API_URL,
|
baseURL: API_URL,
|
||||||
|
withCredentials: true
|
||||||
});
|
});
|
||||||
|
|
||||||
export function ApiWrapper(p: { children: ReactNode}) {
|
export function ApiWrapper(p: { children: ReactNode}) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user