Rewrite URL handling + add example
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
use algem::{server, ServerConfig};
|
||||
|
||||
fn main() {
|
||||
let config = ServerConfig {
|
||||
bind_address: "0.0.0.0:1965".to_string(),
|
||||
identity_file: "identity.pfx".to_string(),
|
||||
thread_count: 4
|
||||
};
|
||||
env_logger::init();
|
||||
|
||||
server::run(&config);
|
||||
}
|
||||
Reference in New Issue
Block a user