fixes
This commit is contained in:
@ -4,7 +4,7 @@ import dayjs from "dayjs";
|
||||
import { useContext } from "react";
|
||||
import AuthContext from "../context/AuthContext";
|
||||
|
||||
const baseURL = "http://127.0.0.1/api/auth";
|
||||
const baseURL = `http://${process.env.REACT_APP_DOMAIN}/api/auth`;
|
||||
|
||||
const useAxios = () => {
|
||||
const { authTokens, setUser, setAuthTokens } = useContext(AuthContext);
|
||||
|
||||
Reference in New Issue
Block a user