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