text: const prodBaseUrl = 'https://api.covidsos.org';
  const stgBaseUrl = 'https://api.stg.covidsos.org';
  
  const prodUiUrl = 'https://covidsos.org';
  const stgUiUrl = 'https://stg.covidsos.org';
  
  const getConfig = () => {
    const buildEnv = process.env.REACT_APP_ENV;
    let baseUrl = stgBaseUrl;
    let uiUrl = stgUiUrl;
    if (buildEnv === 'prod') {
      baseUrl = prodBaseUrl;
      uiUrl = prodUiUrl;
    }
    return {
      baseUrl: baseUrl,
      uiUrl: uiUrl,
      volunteerEndpoint: baseUrl + '/create_volunteer',
      requestEndpoint: baseUrl + '/create_request',
      orgEndpoint: baseUrl + '/reachout_form',
      adminLoginEndpoint: baseUrl + '/login',
      newUserEndpoint: baseUrl + '/new_user',
      summaryEndpoint: baseUrl + '/top_ticker',
      mapEndpoint: baseUrl + '/public_map_data',
      mapAuthEndpoint: baseUrl + '/private_map_data',
      assignEndpoint: baseUrl + '/assign_volunteer',
      updateRequestEndpoint: baseUrl + '/update_request_info',
      updateVolunteerEndpoint: baseUrl + '/update_volunteer_info',
      pendingRequests: baseUrl + '/pending_requests',
      adminPendingRequests: baseUrl + '/admin_pending_requests',
      completedRequests: baseUrl + '/completed_requests',
      adminCompletedRequests: baseUrl + '/admin_completed_requests',
      adminAllRequests: baseUrl + '/all_requests',
      newRequests: baseUrl + '/unverified_requests',
      inProgressRequests: baseUrl + '/accepted_requests',
      requestStatusList: baseUrl + '/request_status_list',
      getVerifyRequest: baseUrl + '/verify_request_page',
      verifyRequest: baseUrl + '/verify_request',
      successStories: baseUrl + '/success_stories',
      requestAcceptance: baseUrl + '/accept_page',
      requestOTP: baseUrl + '/request_otp',
      resendOTP: baseUrl + '/resend_otp',
      verifytOTP: baseUrl + '/verify_otp',
      assignRequest: baseUrl + '/assign_request',
      supportTypeList: baseUrl + '/support_type_list',
      sourceList: baseUrl + '/source_list',
      volunteerRequests: baseUrl + '/volunteer-requests',
      requestInfo: baseUrl + '/request-info',
      adminRequestInfo: baseUrl + '/admin-request-info',
      volUpdateRequest: baseUrl + '/vol-update-request',
      adminUpdateRequest: baseUrl + '/admin-update-request',
      ngoFormView: baseUrl + '/create_ngo_request',
      addRequestManager: baseUrl + '/add-request-manager',
      getUserList: baseUrl + '/get-user-list',
  
      accessTypeStorageKey: 'access_level',
      userNameStorageKey: 'username',
      fullNameStorageKey: 'full_name',
      userIdStorageKey: 'user_id',
      volunteerIdStorageKey: 'volunteer_id',
      tokenStorageKey: 'jwt_token',
      alreadyAccessedSessionStorageKey: 'already_accessed',
      superuserAccessKey: 'superuser',
      sourceKey: 'source',
      redirectToPageKey: 'redirectToPage',
      googleMapAPIToken: 'AIzaSyAIdQoc3j8rPP5jMtdNZd26e5QB509TvZ0'
    }
  };
  
  export default getConfig();