Skip to content

Commit

Permalink
changed ip address
Browse files Browse the repository at this point in the history
  • Loading branch information
jxr98 committed Jul 7, 2024
1 parent ca0a55d commit edeffe2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/graph_dfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ document.getElementById("SaveButton").onclick=function () {
"edges":JSON.stringify(edges),"nodes":JSON.stringify(nodes)};
$.ajax({
type: "POST",
url: "http://155.138.156.192:8080/undirectedGraph/save",
url: "http://54.87.251.156:8080/undirectedGraph/save",
dataType: "json",
data: data,
success:function () {
Expand All @@ -95,7 +95,7 @@ document.getElementById("loadButton").onclick=function () {
var data={"customerId":customerId,"graphName":graphName};
$.ajax({
type: "POST",
url: "http://155.138.156.192:8080/undirectedGraph/loadLastGraph",
url: "http://54.87.251.156:8080/undirectedGraph/loadLastGraph",
dataType: "json",
data: data,
success:function (data) {
Expand Down
4 changes: 2 additions & 2 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ document.getElementById("signupButton").onclick = function () {
var data = {"name": user.getName(), "email": user.getEmail(), "password": user.getPassword()};
$.ajax({
type: "POST",
url: "http://155.138.156.192:8080/users/signup",
url: "http://54.87.251.156:8080/users/signup",
dataType: "json",
data: data,
success: function () {
Expand All @@ -92,7 +92,7 @@ document.getElementById("loginButton").onclick = function () {
var data = {"email": user.getEmail(), "password": user.getPassword()};
$.ajax({
type: "POST",
url: "http://155.138.156.192:8080/users/signin",
url: "http://54.87.251.156:8080/users/signin",
// url:"http://localhost:8080/users/signin",
dataType: "json",
data: data,
Expand Down

0 comments on commit edeffe2

Please sign in to comment.