refactor: update API endpoints and enhance loan management features
This commit is contained in:
@@ -27,7 +27,7 @@ function App() {
|
||||
useEffect(() => {
|
||||
if (Cookies.get("token")) {
|
||||
const verifyToken = async () => {
|
||||
const response = await fetch(`${API_BASE}/api/verifyToken`, {
|
||||
const response = await fetch(`${API_BASE}/verify`, {
|
||||
method: "GET",
|
||||
headers: {
|
||||
Authorization: `Bearer ${Cookies.get("token")}`,
|
||||
|
||||
Reference in New Issue
Block a user