diff --git a/cloud.go b/cloud.go index b87d9a9..3abab1c 100644 --- a/cloud.go +++ b/cloud.go @@ -272,7 +272,7 @@ func runWebsocketClient() error { // set the metrics when we successfully connect to the cloud. cloudResetMetrics(true) - return handleWebRTCSignalWsConnection(c, true) + return handleWebRTCSignalWsMessages(c, true) } func authenticateSession(ctx context.Context, c *websocket.Conn, req WebRTCSessionRequest) error { diff --git a/dev_deploy.sh b/dev_deploy.sh index c3e3716..7fbf29e 100755 --- a/dev_deploy.sh +++ b/dev_deploy.sh @@ -67,10 +67,10 @@ make build_dev cd bin # Kill any existing instances of the application -ssh "${REMOTE_USER}@${REMOTE_HOST}" "killall jetkvm_app || true" +ssh "${REMOTE_USER}@${REMOTE_HOST}" "killall jetkvm_app_debug || true" # Copy the binary to the remote host -cat jetkvm_app | ssh "${REMOTE_USER}@${REMOTE_HOST}" "cat > $REMOTE_PATH/jetkvm_app" +cat jetkvm_app | ssh "${REMOTE_USER}@${REMOTE_HOST}" "cat > $REMOTE_PATH/jetkvm_app_debug" # Deploy and run the application on the remote host ssh "${REMOTE_USER}@${REMOTE_HOST}" ash <