From b8ae5467639692db81a0effc5af88d08e35daeb3 Mon Sep 17 00:00:00 2001 From: Alex Cheung Date: Tue, 5 Dec 2023 11:49:05 +0800 Subject: [PATCH] fix cannot connect payment service --- src/auth/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/utils.js b/src/auth/utils.js index dd206ee..65bd4ab 100644 --- a/src/auth/utils.js +++ b/src/auth/utils.js @@ -12,7 +12,7 @@ export const hostPath = `http://${hostname}:${hostPort}`; //export const apiPath = `http://192.168.0.112:8090/api`; export const apiPath = window.location.href.match("localhost:3000")?`${hostPath}/api`:`/api`; //export const apiPath = `/api`;zz -export const paymentPath = `${hostPath}/payment`; +export const paymentPath = window.location.href.match("localhost:3000")?`${hostPath}/payment`:`/payment`; export const iAmSmartPath = `https://apigw-isit.staging-eid.gov.hk`; export const clientId = "cf61fa7c121e4869966f69c8694b1cd2";