Merge pull request #761 from jb-alvarado/master
simplify error mapping, fix css for mobile, update packages
This commit is contained in:
commit
a076449d21
@ -96,10 +96,11 @@ async fn main() -> std::io::Result<()> {
|
||||
let addr = ip_port[0];
|
||||
let port = ip_port
|
||||
.get(1)
|
||||
.ok_or("<ADRESSE>:<PORT> needed!")
|
||||
.map_err(|e| io::Error::new(io::ErrorKind::Other, e.to_string()))?
|
||||
.parse::<u16>()
|
||||
.unwrap();
|
||||
.and_then(|p| p.parse::<u16>().ok())
|
||||
.ok_or(io::Error::new(
|
||||
io::ErrorKind::InvalidInput,
|
||||
"<ADRESSE>:<PORT> needed! For example: 127.0.0.1:8787",
|
||||
))?;
|
||||
let controllers = web::Data::from(channel_controllers.clone());
|
||||
let auth_state = web::Data::new(SseAuthState {
|
||||
uuids: tokio::sync::Mutex::new(HashSet::new()),
|
||||
|
2
frontend
2
frontend
@ -1 +1 @@
|
||||
Subproject commit e4baf19000eade5376b1a3688e830c4340afbe9d
|
||||
Subproject commit c897226188cc289b0744bb721691a438dba0f5fd
|
Loading…
Reference in New Issue
Block a user