diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..2cb5ca0 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "npm-scripts.showStartNotification": false +} \ No newline at end of file diff --git a/dogs b/dogs new file mode 160000 index 0000000..68cb20c --- /dev/null +++ b/dogs @@ -0,0 +1 @@ +Subproject commit 68cb20c2d5f6f606bf434e7ede8ae60ab9bcc5e0 diff --git a/js/main.js b/js/main.js index 9143548..87ea260 100644 --- a/js/main.js +++ b/js/main.js @@ -1,6 +1,6 @@ $(function () { $.ajax({ - url: "http://localhost:8080/inuhouse", + url: "http://192.168.1.192:8085/inuhouse", type: "GET", success: function (dogs) { const $slider = $('#sliderContainer'); @@ -174,7 +174,7 @@ $(function () { }; $.ajax({ - url: 'http://192.168.1.192:8085/api/user/login', + url: 'http://localhost:8080/api/user/login', type: 'POST', contentType: 'application/json', data: JSON.stringify(requestData), diff --git a/js/register.js b/js/register.js index f9cbd20..9733b51 100644 --- a/js/register.js +++ b/js/register.js @@ -23,7 +23,7 @@ $('#submitRegister').on('click', function () { }; $.ajax({ - url: 'http://localhost:8080/api/user/register', + url: 'http://192.168.1.192:8080/api/user/register', type: 'POST', contentType: 'application/json', data: JSON.stringify(requestData),