diff --git a/func.js b/func.js index c5f57f7..1aa7e02 100644 --- a/func.js +++ b/func.js @@ -227,7 +227,7 @@ function getBotMove(board) { $.ajax({ type : "POST", async: false, - url : "http://127.0.0.1:5000/bot_move", + url : "http://10.56.0.21:5000/bot_move", data: JSON.stringify(data), success: function(data) { result = data; @@ -240,7 +240,7 @@ function getBotMove(board) { function getRequest() { $.ajax({ - url: 'http://127.0.0.1:5000/get_board', + url: 'http://10.56.0.21:5000/get_board', async: false, dataType: 'JSONP', data: { @@ -267,7 +267,7 @@ function postRequest(prev_board, board, roll, total_roll, quad) { $.ajax({ type : "POST", async: false, - url : "http://127.0.0.1:5000/post_board", + url : "http://10.56.0.21:5000/post_board", data: JSON.stringify(data), success: function(data) { result = data;