diff --git a/conf.yml b/conf.yml index f713e41..f2d554d 100755 --- a/conf.yml +++ b/conf.yml @@ -4,7 +4,6 @@ https_host: localhost:443 # Https server host threadpool_size: 10 # Threadpool size (count of threads that accept requests) (optional, default - 10) connection_timeout: 10 # Read and write timeout of connections in seconds (optional, default - 10) incoming_ip_forwarding: none # Read IP forwarding on incoming connections (optional, default - none) -websocket_host: localhost:999 # Websocket messaging host to edit sites (optional, default - null) sites: - domain: localhost # Site domain (use wildcard matching) diff --git a/src/flowgate.rs b/src/flowgate.rs index a428920..8d563bd 100755 --- a/src/flowgate.rs +++ b/src/flowgate.rs @@ -1,4 +1,3 @@ pub mod config; pub mod server; -pub mod ssl_cert; -pub mod websocket; \ No newline at end of file +pub mod ssl_cert; \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index c6f63a7..9111011 100755 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ use std::{fs, path::Path, sync::{Arc, RwLock}}; -use flowgate::{config::Config, server::FlowgateServer, websocket}; +use flowgate::{config::Config, server::FlowgateServer}; fn main() { colog::init(); @@ -13,10 +13,4 @@ fn main() { let server = FlowgateServer::new(config.clone()); server.start(); - - if config.read().unwrap().websocket_host.is_some() { - websocket::start_server(config); - } else { - loop {} - } } \ No newline at end of file