test db is working
All checks were successful
Rust Build / Check (pull_request) Successful in 1m15s
Rust Build / Test Suite (pull_request) Successful in 1m33s
Rust Build / Rustfmt (pull_request) Successful in 25s
Rust Build / Clippy (pull_request) Successful in 1m20s
Rust Build / build (pull_request) Successful in 3m20s

This commit is contained in:
2025-04-01 21:12:32 -04:00
parent 401fb94b6b
commit 470ee220c8
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
use axum::{Json, extract::Extension, http::StatusCode};
use axum::{Extension, Json, http::StatusCode};
use serde::{Deserialize, Serialize};

View File

@@ -18,13 +18,13 @@ async fn main() {
// build our application with a route
let app = Router::new()
.layer(axum::Extension(pool))
.route(callers::endpoints::DBTEST, get(callers::common::db_ping))
.route(callers::endpoints::ROOT, get(callers::common::root))
.route(
callers::endpoints::REGISTER,
post(callers::register::register_user),
);
)
.layer(axum::Extension(pool));
// run our app with hyper, listening globally on port 3000
let url = config::get_full();