diff --git a/src/main.rs b/src/main.rs index 236fd23..f40a5a2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,7 @@ use sdk_storage::{StorageService, create_app}; use tide::log; const STORAGE_DIR: &str = "./storage"; -const PORT: u16 = 8080; +const PORT: u16 = 8081; const DEFAULT_TTL: u64 = 86400; @@ -38,10 +38,8 @@ async fn main() -> tide::Result<()> { } }); - let mut app = create_app(no_ttl_permanent, STORAGE_DIR); + let app = create_app(no_ttl_permanent, STORAGE_DIR); + println!("Server starting on http://0.0.0.0:{}", PORT); app.listen(format!("0.0.0.0:{}", PORT)).await?; - - println!("Server running at http://0.0.0.0:{}", PORT); - Ok(()) }