added a bun profile for devenv

This commit is contained in:
2026-07-17 00:49:26 -05:00
parent 34a046fb9a
commit fac8a535de
2 changed files with 41 additions and 0 deletions
+8
View File
@@ -1,6 +1,14 @@
use std::path::PathBuf;
use axum::{Router, routing::get};
use tokio::net::TcpListener;
fn data_dir() -> PathBuf {
std::env::var("HARBOR_DATA_DIR")
.map(PathBuf::from)
.unwrap_or_else(|_| PathBuf::from("/var/lib/harbor"))
}
#[tokio::main]
async fn main() {
let app = Router::new().route("/health", get(health_check));