endpoint
This commit is contained in:
parent
ba7cc118d7
commit
3b242290d6
|
@ -116,6 +116,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
||||||
.service(routes::v1::hosts::create_host_and_enrollment_code)
|
.service(routes::v1::hosts::create_host_and_enrollment_code)
|
||||||
.service(routes::v2::enroll::enroll)
|
.service(routes::v2::enroll::enroll)
|
||||||
.service(routes::v1::dnclient::dnclient)
|
.service(routes::v1::dnclient::dnclient)
|
||||||
|
.service(routes::v2::whoami::whoami)
|
||||||
})
|
})
|
||||||
.bind(CONFIG.server.bind)?
|
.bind(CONFIG.server.bind)?
|
||||||
.run()
|
.run()
|
||||||
|
|
Loading…
Reference in New Issue