Fixed ip2
This commit is contained in:
parent
3dceadb07d
commit
805966baeb
6
func.js
6
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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user