|
|
@@ -10,8 +10,7 @@ export const hostname = 'localhost'; |
|
|
|
const hostPort = '8090'; |
|
|
|
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 apiPath = window.location.href.match("localhost:3000")?`${hostPath}/api`:(window.location.href.match(":3000")? "http://"+window.location.hostname+":8090/api":`/api`); |
|
|
|
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"; |
|
|
|