From 9b8a384b69378677ff0260490d90e7e4c70e5cb7 Mon Sep 17 00:00:00 2001 From: Shiva Date: Mon, 26 Feb 2024 20:32:55 +0530 Subject: [PATCH] Remove residentmobileapp context path as part of the mimoto urls Signed-off-by: Shiva --- inji-web/src/utils/config.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inji-web/src/utils/config.js b/inji-web/src/utils/config.js index f59fc76..404f794 100644 --- a/inji-web/src/utils/config.js +++ b/inji-web/src/utils/config.js @@ -16,11 +16,11 @@ export const getESignetRedirectURL = (scope, clientId, codeChallenge, state) => /* MIMOTO CONFIG */ export const MIMOTO_URL = process.env.REACT_APP_MIMOTO_URL || "/mimoto"; -export const FETCH_ISSUERS_URL = `${MIMOTO_URL}/residentmobileapp/v2/issuers`; -export const getSearchIssuersUrl = (issuer) => `${MIMOTO_URL}/residentmobileapp/v2/issuers?search=${issuer}`; -export const getCredentialsSupportedUrl = (issuerId) => `${MIMOTO_URL}/residentmobileapp/v2/issuers/${issuerId}/credentials-supported`; -export const getFetchAccessTokenFromCodeApi = (issuer) => `${MIMOTO_URL}/residentmobileapp/get-token/${issuer}`; -export const getVcDownloadAPI = (issuerId, credentialId) => `${MIMOTO_URL}/residentmobileapp/v2/issuers/${issuerId}/credentials/${credentialId}/download`; +export const FETCH_ISSUERS_URL = `${MIMOTO_URL}/v2/issuers`; +export const getSearchIssuersUrl = (issuer) => `${MIMOTO_URL}/v2/issuers?search=${issuer}`; +export const getCredentialsSupportedUrl = (issuerId) => `${MIMOTO_URL}/v2/issuers/${issuerId}/credentials-supported`; +export const getFetchAccessTokenFromCodeApi = (issuer) => `${MIMOTO_URL}/get-token/${issuer}`; +export const getVcDownloadAPI = (issuerId, credentialId) => `${MIMOTO_URL}/v2/issuers/${issuerId}/credentials/${credentialId}/download`; /* MISC */ export const DATA_KEY_IN_LOCAL_STORAGE = "vcDownloadDetails";