From de968e8f7c1c4a3554edf65062c0c33738ef8689 Mon Sep 17 00:00:00 2001 From: Vijay Kumar S <94220135+vijay151096@users.noreply.github.com> Date: Mon, 21 Oct 2024 21:28:26 +0530 Subject: [PATCH] [INJIWEB-977]: correct mimotoHost in api.ts Signed-off-by: Vijay Kumar S <94220135+vijay151096@users.noreply.github.com> --- inji-web/src/utils/api.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/inji-web/src/utils/api.ts b/inji-web/src/utils/api.ts index b1911299..5de4b73f 100644 --- a/inji-web/src/utils/api.ts +++ b/inji-web/src/utils/api.ts @@ -14,11 +14,9 @@ export enum MethodType { export class api { // static mimotoHost = "http://localhost:3010"; - // static mimotoHost = window.location.origin + "/v1/mimoto"; - static mimotoHost="https://api.collab.mossip.net" + "/v1/mimoto"; + static mimotoHost = window.location.origin + "/v1/mimoto"; - // static authorizationRedirectionUrl = window.location.origin + "/redirect"; - static authorizationRedirectionUrl = "https://api.collab.mossip.net" + "/redirect"; + static authorizationRedirectionUrl = window.location.origin + "/redirect"; static fetchIssuers: ApiRequest = { url: () => (api.mimotoHost + "/issuers"),