Jeongmin Seo

Last update localhost->ip

...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
44 44
45 const dataSet = await axios({ 45 const dataSet = await axios({
46 method: "get", // http method 46 method: "get", // http method
47 - url: `http://localhost:3000/restaurants?category=${qs}`, 47 + url: `http://52.54.201.217:3000/restaurants?category=${qs}`,
48 headers: {}, 48 headers: {},
49 data: {}, 49 data: {},
50 }); 50 });
......
1 "use strict"; 1 "use strict";
2 2
3 -const socket = io.connect("http://localhost:3000/", { 3 +const socket = io.connect("http://52.54.201.217:3000/", {
4 transports: ["websocket"], 4 transports: ["websocket"],
5 }); 5 });
6 const nickname = document.querySelector("#nickname") 6 const nickname = document.querySelector("#nickname")
......