aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/webcam
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2020-06-06 01:14:09 -0700
committerSam Wilkins <samwilkins333@gmail.com>2020-06-06 01:14:09 -0700
commit1f437abfeabf897887fb9e3097df06a1934ae884 (patch)
treea8d870e22421437ed93b3341e900e20df3130dc8 /src/client/views/webcam
parent1a6feb447f9c4fd461ba02dc45a93e569a283be0 (diff)
fixed import ordering
Diffstat (limited to 'src/client/views/webcam')
-rw-r--r--src/client/views/webcam/WebCamLogic.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/views/webcam/WebCamLogic.js b/src/client/views/webcam/WebCamLogic.js
index a8a2f5fa4..5f6202bc8 100644
--- a/src/client/views/webcam/WebCamLogic.js
+++ b/src/client/views/webcam/WebCamLogic.js
@@ -1,8 +1,5 @@
'use strict';
import io from "socket.io-client";
-import {
- resolvedPorts
-} from "../Main";
var socket;
var isChannelReady = false;
@@ -32,7 +29,7 @@ export function initialize(roomName, handlerUI) {
room = roomName;
- socket = io.connect(`${window.location.protocol}//${window.location.hostname}:${resolvedPorts.socket}`);
+ socket = io.connect(`${window.location.protocol}//${window.location.hostname}:4321`);
if (room !== '') {
socket.emit('create or join', room);