提交 41bfca76 编写于 作者: J jiangyifei 提交者: Jiangtao Hu

navigation: updated server address to allow remote access.

上级 10faab2c
......@@ -84,7 +84,7 @@
var json = '';
$.ajax({
type: "POST",
url: "http://localhost:5001/",
url: "http://" + window.location.hostname + ":5001/",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
......@@ -213,7 +213,7 @@
};
$.ajax({
type: "POST",
url: "http://localhost:5001/routing",
url: "http://" + window.location.hostname + ":5001/routing",
data: JSON.stringify(data),
contentType: "application/json; charset=utf-8",
dataType: "json",
......
......@@ -84,7 +84,7 @@
var json = '';
$.ajax({
type: "POST",
url: "http://localhost:5001/",
url: "http://" + window.location.hostname + ":5001/",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
......@@ -213,7 +213,7 @@
};
$.ajax({
type: "POST",
url: "http://localhost:5001/routing",
url: "http://" + window.location.hostname + ":5001/routing",
data: JSON.stringify(data),
contentType: "application/json; charset=utf-8",
dataType: "json",
......
......@@ -84,7 +84,7 @@
var json = '';
$.ajax({
type: "POST",
url: "http://localhost:5001/",
url: "http://" + window.location.hostname + ":5001/",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
......@@ -213,7 +213,7 @@
};
$.ajax({
type: "POST",
url: "http://localhost:5001/routing",
url: "http://" + window.location.hostname + ":5001/routing",
data: JSON.stringify(data),
contentType: "application/json; charset=utf-8",
dataType: "json",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册