diff --git a/src/main/resources/static/js/member/login.js b/src/main/resources/static/js/member/login.js index 84087eb..90e84a3 100644 --- a/src/main/resources/static/js/member/login.js +++ b/src/main/resources/static/js/member/login.js @@ -1,7 +1,7 @@ document.addEventListener("DOMContentLoaded", function () { if (window.localStorage.getItem("X-READYS-AUTH-TOKEN") != null) { alert('유저 정보가 이미 존재합니다.'); - location.href = "https://readys.link/member_home"; + location.href = "/member_home"; } }); diff --git a/src/main/resources/static/js/member/sign_up.js b/src/main/resources/static/js/member/sign_up.js index ea7a127..c7f35d2 100644 --- a/src/main/resources/static/js/member/sign_up.js +++ b/src/main/resources/static/js/member/sign_up.js @@ -113,7 +113,7 @@ function sign_up_submit() { type: "POST", success: function () { alert("회원 가입 성공 !"); - location.href = "https://readys.link/login"; + location.href = "/login"; }, error: function (response) { alert("[ " + response.status + " ] " + JSON.parse(response.responseText).message); diff --git a/src/main/resources/static/js/shortener/access_shortcode.js b/src/main/resources/static/js/shortener/access_shortcode.js index 3781600..eb240af 100644 --- a/src/main/resources/static/js/shortener/access_shortcode.js +++ b/src/main/resources/static/js/shortener/access_shortcode.js @@ -1,6 +1,6 @@ $(document).ready(function () { if (window.localStorage.getItem("X-READYS-AUTH-TOKEN") == null) { - location.href = "https://readys.link/main"; + location.href = "/main"; } const authToken = localStorage.getItem('X-READYS-AUTH-TOKEN'); @@ -15,7 +15,7 @@ $(document).ready(function () { let tableBody = $('#shortcodeTableBody'); data.data.forEach(function (item) { let row = $('