chore: print feature

This commit is contained in:
nathan 2024-02-23 05:40:35 +08:00
parent a5804d0923
commit f196208c9b
1 changed files with 5 additions and 0 deletions

View File

@ -150,6 +150,11 @@ fn get_certificate_and_server_key(config: &Config) -> Option<(Secret<String>, Se
}
pub async fn init_state(config: &Config) -> Result<AppState, Error> {
// Print the feature flags
if cfg!(feature = "disable_access_control") {
info!("Access control is disabled");
}
let metrics = AppMetrics::new();
// Postgres