aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
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))
-}