Skip to content

Commit

Permalink
changed remote socket url on test page
Browse files Browse the repository at this point in the history
  • Loading branch information
collinsadi committed Jun 15, 2024
1 parent d89f3f4 commit 56a99ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
let role = localStorage.getItem("role");

const response = await fetch(
`http://52.209.54.165/api/v1/chat/get/messages_${role}?id=` + urlparams.get("id"),
`https://smartchange-api.onrender.com/api/v1/chat/get/messages_${role}?id=` + urlparams.get("id"),
{
method: "GET",
headers: {
Expand Down Expand Up @@ -145,7 +145,7 @@
alert("Credentials saved successfully!");
}

const socket = io("http://52.209.54.165",{
const socket = io("https://smartchange-api.onrender.com",{
auth: {
token: localStorage.getItem("token"),
},
Expand Down

0 comments on commit 56a99ce

Please sign in to comment.