DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

a0e9ef2e35a4558adc408cd1186b98433e8f50b5 — Jonni Liljamo 1 year, 9 months ago 4e6c5c5
fix(api): /ping -> /api/ping
1 files changed, 1 insertions(+), 1 deletions(-)

M api/src/main.rs
M api/src/main.rs => api/src/main.rs +1 -1
@@ 22,7 22,7 @@ type PgPool = r2d2::Pool<ConnectionManager<PgConnection>>;

const MIGRATIONS: EmbeddedMigrations = embed_migrations!();

#[get("/ping")]
#[get("/api/ping")]
async fn ping() -> impl Responder {
    HttpResponse::Ok().body("pong")
}