Fix jwt-token
This commit is contained in:
@@ -125,7 +125,7 @@ export const SocketProvider = ({ children }) => {
|
|||||||
const newSocket = io(APP_CONFIG.isProduction
|
const newSocket = io(APP_CONFIG.isProduction
|
||||||
? window.location.origin
|
? window.location.origin
|
||||||
: 'http://localhost:3001', {
|
: 'http://localhost:3001', {
|
||||||
path: APP_CONFIG.isProduction ? '/uggla/socket.io/' : '/socket.io/'
|
path: '/socket.io/'
|
||||||
});
|
});
|
||||||
|
|
||||||
newSocket.on('connect', () => {
|
newSocket.on('connect', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user