CFE-6 Fixed any bugs

This commit is contained in:
AmirHossein Mahmoodi
2023-10-02 16:09:05 +03:30
parent 3e36e3fedd
commit 7e2c18ca6c
4 changed files with 9 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL;
//login
export const GET_USER_TOKEN = BASE_URL + "/dashboard/login";
export const GET_USER_TOKEN = BASE_URL + "/api/auth/login";
//end login
//change password
@@ -9,5 +9,5 @@ export const SET_USER_PASSWORD = BASE_URL + "/dashboard/profile/change_password"
//end change password
//user data
export const GET_USER_ROUTE = BASE_URL + "/dashboard/profile/info";
export const GET_USER_ROUTE = BASE_URL + "/api/profile/info";
//user data