mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-05-18 16:28:08 +00:00
0a4addc6bb
* Add chapter 5 * Basic deployment stuff * Fix Dockerfile. * Add an explicit connection timeout. * Align port with configuration. * Use debug for faster feedback loops. * Add address configuration. * Provision database. * Use structured options. * Add configuration * Fix typo. * Customise deserialization logic. * Change to Require. * Fix spec. * Add a few more things to the dockerignore file. * Update to match chapter. * Add base configuration. * Amend configuratiohn. Co-authored-by: LukeMathWalker <rust@lpalmieri.com>
6 lines
110 B
Rust
6 lines
110 B
Rust
use actix_web::HttpResponse;
|
|
|
|
pub async fn health_check() -> HttpResponse {
|
|
HttpResponse::Ok().finish()
|
|
}
|