_hissing_
This commit is contained in:
parent
4a28e4f887
commit
783bb20b46
|
@ -1410,7 +1410,6 @@ dependencies = [
|
|||
"env_logger",
|
||||
"ewebsock",
|
||||
"hrtime",
|
||||
"js-sys",
|
||||
"log",
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue