react
This commit is contained in:
@@ -1,6 +1,27 @@
|
||||
const BASE_URL =
|
||||
import.meta.env.VITE_API_URL || 'https://jsonplaceholder.typicode.com';
|
||||
process.env.NEXT_PUBLIC_API_URL || "https://api.meridynpharma.com";
|
||||
|
||||
const ENDP_POSTS = '/posts/';
|
||||
const CREATE_USER = "/api/v1/accounts/user/create";
|
||||
const LOGIN_USER = "/api/v1/authentication/login/";
|
||||
const REGIONS = "/api/v1/shared/region/list/";
|
||||
const PLANS = "/api/v1/shared/plan/";
|
||||
const DISCTRICT = "/api/v1/shared/disctrict/";
|
||||
const OBJECT = "/api/v1/shared/place/";
|
||||
const DOCTOR = "/api/v1/shared/doctor/";
|
||||
const PHARMACY = "/api/v1/shared/pharmacy/";
|
||||
const LOCATION = "/api/v1/shared/location/";
|
||||
const TOUR_PLAN = "/api/v1/shared/tour_plan/list";
|
||||
|
||||
export { BASE_URL, ENDP_POSTS };
|
||||
export {
|
||||
BASE_URL,
|
||||
CREATE_USER,
|
||||
DISCTRICT,
|
||||
DOCTOR,
|
||||
LOCATION,
|
||||
LOGIN_USER,
|
||||
OBJECT,
|
||||
PHARMACY,
|
||||
PLANS,
|
||||
REGIONS,
|
||||
TOUR_PLAN,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user