diff --git a/src/constants/baseUrl.ts b/src/constants/baseUrl.ts index e4e7ee1..fef61dc 100755 --- a/src/constants/baseUrl.ts +++ b/src/constants/baseUrl.ts @@ -1,4 +1,4 @@ // const baseURL = import.meta.env.VUE_APP_API_URL || "http://localhost:3001"; -// const baseURL = "http://localhost:3001"; -const baseURL = "https://quiz-app-backend-cloud.azurewebsites.net"; +const baseURL = "http://localhost:3001"; +// const baseURL = "https://quiz-app-backend-cloud.azurewebsites.net"; export default baseURL; diff --git a/src/pages/admin/Admin.tsx b/src/pages/admin/Admin.tsx index da38aca..d7b641b 100755 --- a/src/pages/admin/Admin.tsx +++ b/src/pages/admin/Admin.tsx @@ -86,7 +86,7 @@ const Admin = () => {

QuizGrad

- profile + profile

Admin

diff --git a/src/pages/login/login.tsx b/src/pages/login/login.tsx index 26b3665..b4be981 100755 --- a/src/pages/login/login.tsx +++ b/src/pages/login/login.tsx @@ -31,6 +31,7 @@ export default function Login() { }, onSuccess: async (data) => { const { user } = data; + console.log("User : ",user); await dispatch(userActions.setUserInfo(user)); await localStorage.setItem("account", JSON.stringify(user));