changed ports
This commit is contained in:
+3
-1
@@ -8,12 +8,14 @@ import MainMix from "@/app/components/MainMix";
|
||||
// initialize global websocket connection
|
||||
import {initConnection} from "@/app/lib/x32CommunicationManager";
|
||||
|
||||
const WEBSOCKET_PORT = 3001;
|
||||
|
||||
const Page = () => {
|
||||
const [appConfig, setAppConfig] = useState(null);
|
||||
const [activeTab, setActiveTab] = useState("mainMix");
|
||||
|
||||
useEffect(() => {
|
||||
initConnection(`ws://${window.location.hostname}:8080`);
|
||||
initConnection(`ws://${window.location.hostname}:${WEBSOCKET_PORT}`);
|
||||
fetchConfig().then(config => {
|
||||
setAppConfig(config);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user