From 91fc1433b35433323ea5cf6e8ea46abe0d68ac26 Mon Sep 17 00:00:00 2001 From: reidlab Date: Mon, 11 Sep 2023 23:30:41 -0700 Subject: [PATCH] remove old index --- src/main.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 64795dc..ab78110 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,11 +26,6 @@ use template_endpoints::*; mod config; use config::*; -#[get("/")] -fn index() -> String { - return String::from("gdps-server | https://git.reidlab.online/reidlab/gdps-server"); -} - #[get("/")] async fn files(file: PathBuf) -> Option { NamedFile::open(Path::new("public/").join(file)).await.ok()