Fix jwt-token
This commit is contained in:
5
client/.env
Normal file
5
client/.env
Normal file
@@ -0,0 +1,5 @@
|
||||
# Local development environment
|
||||
VITE_BASE_PATH=
|
||||
|
||||
# Debug configuration
|
||||
VITE_DEBUG_ENABLED=true
|
||||
@@ -125,7 +125,7 @@ export const SocketProvider = ({ children }) => {
|
||||
const newSocket = io(APP_CONFIG.isProduction
|
||||
? window.location.origin
|
||||
: 'http://localhost:3001', {
|
||||
path: '/socket.io/'
|
||||
path: '/ws'
|
||||
});
|
||||
|
||||
newSocket.on('connect', () => {
|
||||
|
||||
Reference in New Issue
Block a user