Changes to connection system to support docker
This commit is contained in:
@@ -10,7 +10,7 @@ if (socket === null) {
|
||||
? "http://localhost:8082"
|
||||
: "/",
|
||||
{
|
||||
path: "/database-socket.io/",
|
||||
path: window.location.hostname === "localhost" ? "/" : "/database-socket.io/",
|
||||
transports: ["websocket", "polling"],
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user