aboutsummaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/server.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/server.rs b/src/bin/server.rs
index eb290db..d074e4f 100644
--- a/src/bin/server.rs
+++ b/src/bin/server.rs
@@ -34,7 +34,11 @@ async fn main() -> std::io::Result<()> {
34 .route("/existing", web::post().to(users::name_exists)) 34 .route("/existing", web::post().to(users::name_exists))
35 .route("/login", web::post().to(users::login)) 35 .route("/login", web::post().to(users::login))
36 .route("/{uname}", web::get().to(users::user_details)) 36 .route("/{uname}", web::get().to(users::user_details))
37 .route("/new", web::post().to(users::new_user)), 37 .route("/new", web::post().to(users::new_user))
38 .route(
39 "/change_password",
40 web::post().to(users::change_password),
41 ),
38 ) 42 )
39 .route("/hey", web::get().to(manual_hello)) 43 .route("/hey", web::get().to(manual_hello))
40 }) 44 })