From 805966baeb80025f1d12132917d7db085bcee431 Mon Sep 17 00:00:00 2001 From: Alexander Munch-Hansen Date: Sun, 20 May 2018 23:49:08 +0200 Subject: [PATCH] Fixed ip2 --- func.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;