This commit is contained in:
hyunho 2020-12-16 04:39:57 +00:00
parent 1175fc49ce
commit 6fa99d3a68
6 changed files with 11 additions and 11 deletions

View File

@ -119,7 +119,7 @@
function loginWithKakao() {
Kakao.Auth.login({
success: function (authObj) {
location.href = "https://www.ynicte.com/Account/KakaoCallback"
location.href = "/Account/KakaoCallback"
},
fail: function (err) {
alert("카카오 아이디로 로그인에 실패했습니다.");
@ -131,7 +131,7 @@
function loginWithGoogle() {
gauth = gapi.auth2.getAuthInstance();
gauth.signIn().then(function () {
location.href = "https://www.ynicte.com/Account/GoogleCallback"
location.href = "/Account/GoogleCallback"
}, function () {
alert("구글 아이디로 로그인에 실패했습니다.");
return;

View File

@ -41,7 +41,7 @@
function loginWithKakao() {
Kakao.Auth.login({
success: function (authObj) {
location.href = "https://www.ynicte.com/Account/Join?jointype=3";
location.href = "/Account/Join?jointype=3";
},
fail: function (err) {
alert("카카오 아이디로 회원가입에 실패했습니다.");
@ -56,7 +56,7 @@
function loginWithGoogle() {
gauth = gapi.auth2.getAuthInstance();
gauth.signIn().then(function () {
location.href = "https://www.ynicte.com/Account/Join?jointype=1";
location.href = "/Account/Join?jointype=1";
});
}

View File

@ -41,7 +41,7 @@
}
}
function goJoin() {
location.href = "https://www.ynicte.com/Account/Join?jointype=3";
location.href = "/Account/Join?jointype=3";
}
function goHome() {
if (capResult.code > 0) {
@ -49,7 +49,7 @@
}
}
function goIndex() {
location.href = "https://www.ynicte.com/Account/Index";
location.href = "/Account/Index";
}

View File

@ -70,7 +70,7 @@
}
}
function goJoin() {
opener.location.href = "https://www.ynicte.com/Account/Join?jointype=2";
opener.location.href = "/Account/Join?jointype=2";
self.close();
}
function goHome() {
@ -80,7 +80,7 @@
}
}
function goIndex() {
opener.location.href = "https://www.ynicte.com/Account/Index";
opener.location.href = "/Account/Index";
self.close();
}

View File

@ -14,7 +14,7 @@
$.when(
naverLogin.init()
).done(function () {
opener.location.href = "https://www.ynicte.com/Account/Join?jointype=2";
opener.location.href = "/Account/Join?jointype=2";
self.close();
});

View File

@ -331,7 +331,7 @@
function loginWithKakao() {
Kakao.Auth.login({
success: function (authObj) {
location.href = "https://www.ynicte.com/Account/SNSLinkCallback?jointype=3"
location.href = "/Account/SNSLinkCallback?jointype=3"
},
fail: function (err) {
alert("카카오 아이디로 로그인에 실패했습니다.");
@ -343,7 +343,7 @@
function loginWithGoogle() {
gauth = gapi.auth2.getAuthInstance();
gauth.signIn().then(function () {
location.href = "https://www.ynicte.com/Account/SNSLinkCallback?jointype=1"
location.href = "/Account/SNSLinkCallback?jointype=1"
}, function () {
alert("구글 아이디로 로그인에 실패했습니다.");
return;