From edeffe2a5bf4522d1975b26d0e9a53734d648ed0 Mon Sep 17 00:00:00 2001 From: Xinrui Jiang Date: Sat, 6 Jul 2024 22:06:47 -0400 Subject: [PATCH] changed ip address --- js/graph_dfs.js | 4 ++-- js/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/graph_dfs.js b/js/graph_dfs.js index 7bfb274..1776dd8 100644 --- a/js/graph_dfs.js +++ b/js/graph_dfs.js @@ -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 () { @@ -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) { diff --git a/js/index.js b/js/index.js index 86b3c42..acd45a5 100644 --- a/js/index.js +++ b/js/index.js @@ -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 () { @@ -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,