Updated DomainName

This commit is contained in:
Jyotirmoy Bandyopadhayaya 2021-12-20 00:54:09 +05:30
parent 48745b5d7a
commit 5693799f85
1 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ const Chat = ({ location }) => {
const history = useHistory();
let socketUrl = "http://localhost:5000/";
if (process.env.NODE_ENV !== "production") {
socketUrl = "https://irc.bravo68web.me/";
} else if (process.env.NODE_ENV === "production") {
if (process.env.NODE_ENV === "production") {
socketUrl = "https://irc.b68dev.xyz";
} else if (process.env.NODE_ENV != "production") {
socketUrl = "http://localhost:5000/";
}