added default
This commit is contained in:
parent
e87fb5b6b1
commit
c3c3e14240
4121
package-lock.json
generated
4121
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -74,9 +74,11 @@ export const getDesignTokens = (mode: PaletteMode) => ({
|
||||
|
||||
const API_URL = `${process.env.REACT_APP_API_SCHEME}://${process.env.REACT_APP_API_URL}`
|
||||
|
||||
axios.defaults.withCredentials = true
|
||||
|
||||
export const api: AxiosInstance = axios.create({
|
||||
baseURL: API_URL,
|
||||
withCredentials: true
|
||||
withCredentials: true,
|
||||
});
|
||||
|
||||
export function ApiWrapper(p: { children: ReactNode}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user