|
use std::error::Error;
|
|
|
|
#[tokio::main]
|
|
async fn main () -> Result <(), Box <dyn Error>> {
|
|
let opt = ptth::server::Opt {
|
|
relay_url: "http://127.0.0.1:4000".into (),
|
|
server_name: "alien_wildlands".into (),
|
|
file_server_root: "/home/user".into (),
|
|
};
|
|
|
|
ptth::server::main (opt).await
|
|
}
|