diff options
author | Shav Kinderlehrer <[email protected]> | 2024-04-07 20:42:38 -0400 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2024-04-07 20:42:38 -0400 |
commit | 2faf2898295bbc4b4712b2ad82292f90c1c92f32 (patch) | |
tree | 8e332b167f531a59ddc45b655f5f52569d10a93c /src/main.rs | |
parent | 21b18aac548f6b0fd4aaad920b4a5de0bc6078c0 (diff) | |
download | chela-2faf2898295bbc4b4712b2ad82292f90c1c92f32.tar.gz chela-2faf2898295bbc4b4712b2ad82292f90c1c92f32.zip |
Fix clippy warnings
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs index 1dde8a7..21d29e0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -198,11 +198,3 @@ CREATE TABLE IF NOT EXISTS chela.tracking ( Ok(db_pool) } - -fn init_routes(state: ServerState) -> Router { - Router::new() - .route("/", get(get::index)) - .route("/create", get(get::create_id)) - .route("/", post(post::create_link)) - .layer(axum::Extension(state)) -} |