remove old index

This commit is contained in:
Reid 2023-09-11 23:30:41 -07:00
parent 6f6f48d80b
commit 91fc1433b3
Signed by: reidlab
GPG key ID: 6C9EAA3364F962C8

View file

@ -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("/<file..>")]
async fn files(file: PathBuf) -> Option<NamedFile> {
NamedFile::open(Path::new("public/").join(file)).await.ok()