socket.io fix
parent
cda1baf7c0
commit
4c3325b0ef
|
|
@ -5,5 +5,5 @@ import { API_HOST } from "./util/api";
|
|||
// const URL = process.env.NODE_ENV === 'production' ? undefined : 'http://localhost:4000';
|
||||
|
||||
export const socket = io(`${API_HOST}`, {
|
||||
path: `${API_HOST}/socket.io`,
|
||||
path: `/ff-api/socket.io`,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue