remove old index
This commit is contained in:
parent
6f6f48d80b
commit
91fc1433b3
1 changed files with 0 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue