diff --git a/cloud.go b/cloud.go index 3abab1c..516a0b1 100644 --- a/cloud.go +++ b/cloud.go @@ -76,7 +76,7 @@ var ( metricConnectionTotalPingCount = promauto.NewCounter( prometheus.CounterOpts{ Name: "jetkvm_connection_total_ping_count", - Help: "The total number of pings sent to the", + Help: "The total number of pings sent to the connection", }, ) metricConnectionSessionRequestCount = promauto.NewCounter( diff --git a/ui/src/routes/devices.$id.tsx b/ui/src/routes/devices.$id.tsx index fd4cc57..1a86a37 100644 --- a/ui/src/routes/devices.$id.tsx +++ b/ui/src/routes/devices.$id.tsx @@ -287,7 +287,7 @@ export default function KvmIdRoute() { if (ignoreOffer.current) return; // Set so we don't accept an answer while we're setting the remote description - isSettingRemoteAnswerPending.current = parsedMessage.type == "answer"; + isSettingRemoteAnswerPending.current = parsedMessage.type === "answer"; console.log( "[Websocket] Setting remote answer pending", isSettingRemoteAnswerPending.current,