fix : 도메인수정
This commit is contained in:
@@ -210,11 +210,11 @@
|
||||
const hostname = window.location.hostname;
|
||||
let itrntDomain = null;
|
||||
if (hostname.match(/^loc\./)) { // loc.로 시작하는지 검사
|
||||
itrntDomain = 'http://loc.itrnt.gcone.co.kr:18310';
|
||||
itrntDomain = 'http://loc.itrnt.soju1sake1.com:18310';
|
||||
} else if (hostname.match(/^dev\./)) { // dev.로 시작하는지 검사
|
||||
itrntDomain = 'http://dev.itrnt.gcone.co.kr';
|
||||
itrntDomain = 'http://dev.itrnt.soju1sake1.com';
|
||||
} else {
|
||||
itrntDomain = 'https://itrnt.gcone.co.kr';
|
||||
itrntDomain = 'https://itrnt.soju1sake1.com';
|
||||
}
|
||||
|
||||
// 본사 아이디 CH와 NC일 경우 분기 처리
|
||||
|
||||
@@ -459,8 +459,8 @@
|
||||
}
|
||||
|
||||
//로컬처리(임시)
|
||||
if (window.location.hostname === "loc.mngr.gcone.co.kr") {
|
||||
sopmalDomain = sopmalDomain.replace("dev.", "loc.") + ":18310";
|
||||
if (window.location.hostname === "loc.mngr.soju1sake1.com") {
|
||||
sopmalDomain = sopmalDomain.replace("dev.", "loc.") + ":18500";
|
||||
}
|
||||
|
||||
window.open(sopmalDomain+'/sopmal/mbr/selectPosJoinAgreeTermsForm?storeCode='+posCode+'&code=mngr', '_blank');
|
||||
|
||||
Reference in New Issue
Block a user