From 3b242290d6ed75042ff67d094591ea7d4d48d275 Mon Sep 17 00:00:00 2001 From: c0repwn3r Date: Tue, 30 May 2023 21:52:29 -0400 Subject: [PATCH] endpoint --- trifid-api/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/trifid-api/src/main.rs b/trifid-api/src/main.rs index 51425c1..38b70fb 100644 --- a/trifid-api/src/main.rs +++ b/trifid-api/src/main.rs @@ -116,6 +116,7 @@ async fn main() -> Result<(), Box> { .service(routes::v1::hosts::create_host_and_enrollment_code) .service(routes::v2::enroll::enroll) .service(routes::v1::dnclient::dnclient) + .service(routes::v2::whoami::whoami) }) .bind(CONFIG.server.bind)? .run()