diff --git a/js/main.js b/js/main.js index 87ea260..0ae1e66 100644 --- a/js/main.js +++ b/js/main.js @@ -1,6 +1,6 @@ $(function () { $.ajax({ - url: "http://192.168.1.192:8085/inuhouse", + url: "http://localhost:8080/inuhouse", type: "GET", success: function (dogs) { const $slider = $('#sliderContainer'); diff --git a/js/register.js b/js/register.js index 9733b51..f9cbd20 100644 --- a/js/register.js +++ b/js/register.js @@ -23,7 +23,7 @@ $('#submitRegister').on('click', function () { }; $.ajax({ - url: 'http://192.168.1.192:8080/api/user/register', + url: 'http://localhost:8080/api/user/register', type: 'POST', contentType: 'application/json', data: JSON.stringify(requestData),