client/src/common/utils/socket.js aktualisiert
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Has been cancelled
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Has been cancelled
This commit is contained in:
parent
5131f60cc8
commit
f5d2043cb3
@ -1,5 +1,5 @@
|
||||
import { io } from 'socket.io-client';
|
||||
|
||||
const URL = process.env.NODE_ENV === "production" ? "https://pmg-api.gnmyt.dev" : "http://localhost:3000";
|
||||
const URL = process.env.NODE_ENV === "production" ? "/" : "http://localhost:3000";
|
||||
|
||||
export const socket = io(URL);
|
Loading…
x
Reference in New Issue
Block a user