소스 검색

update utils

master
Anna Ho 1 년 전
부모
커밋
473b1c090c
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -2
      src/auth/utils.js

+ 1
- 2
src/auth/utils.js 파일 보기

@@ -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";


불러오는 중...
취소
저장