From b0273d623951cff43b0a1d82641e39e04d83bed5 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Fri, 23 May 2025 20:01:35 -0400 Subject: [PATCH] Added TODOs --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.rs b/src/main.rs index c1e7bda..12d22d6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -117,18 +117,23 @@ pub mod init { } } +// TODO: Move elsewhere fn get_full() -> String { get_address() + ":" + &get_port() } +// TODO: Move elsewhere fn get_address() -> String { String::from("0.0.0.0") } +// TODO: Move elsewhere fn get_port() -> String { String::from("3000") } +// TODO: Move elsewhere pub const ROOT: &str = "/"; +// TODO: Move elsewhere // basic handler that responds with a static string pub async fn root() -> &'static str { "Hello, World!"