_hissing_

This commit is contained in:
Baud 2024-05-30 23:31:08 +01:00
parent 4a28e4f887
commit 783bb20b46
3 changed files with 1 additions and 4 deletions

1
frontend/Cargo.lock generated
View File

@ -1410,7 +1410,6 @@ dependencies = [
"env_logger",
"ewebsock",
"hrtime",
"js-sys",
"log",
"serde",
"serde_json",

View File

@ -10,7 +10,6 @@ eframe = { version = "0.27.0", default-features = false, features = [
"default_fonts", # Embed the default egui fonts.
"glow", # Use the glow rendering backend. Alternative: "wgpu".
] }
js-sys = "0.3.69"
log = "0.4"
serde = { version = "1", features = ["derive"] }
hrtime = "0.2.0"

View File

@ -6,7 +6,6 @@ use std::{
use egui::{Button, Color32, RichText, Rounding, Sense, Stroke, Vec2};
use ewebsock::{Options, WsReceiver, WsSender};
use js_sys::eval;
use wasm_timer::Instant;
use crate::websocket::{
@ -28,7 +27,7 @@ pub struct HyperdeckMonitorApp {
impl Default for HyperdeckMonitorApp {
fn default() -> Self {
let api_websocket_location = format!("ws://voc.emf.camp:9681/ws", window_location);
let api_websocket_location = format!("ws://voc.emf.camp:9681/ws");
let (ws_sender, ws_receiver) =
ewebsock::connect(api_websocket_location, Options::default()).unwrap();
Self {