2022-04-24 20:07:41 +00:00
|
|
|
pub mod list;
|
2022-04-24 19:31:50 +00:00
|
|
|
pub mod upload;
|
|
|
|
|
|
|
|
pub fn app() -> axum::Router {
|
|
|
|
use axum::routing::post;
|
|
|
|
|
2022-04-24 20:07:41 +00:00
|
|
|
axum::Router::new()
|
|
|
|
.route("/list", post(list::handle))
|
|
|
|
.route("/upload", post(upload::handle))
|
2022-04-24 19:31:50 +00:00
|
|
|
}
|