mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
feat: include version number in response headers and on application startup (#3045)
This commit is contained in:
@ -34,6 +34,9 @@ async fn main() -> ApplicationResult<()> {
|
||||
conf.validate()
|
||||
.expect("Failed to validate router configuration");
|
||||
|
||||
#[cfg(feature = "vergen")]
|
||||
println!("Starting router (Version: {})", router_env::git_tag!());
|
||||
|
||||
let _guard = router_env::setup(
|
||||
&conf.log,
|
||||
router_env::service_name!(),
|
||||
|
||||
Reference in New Issue
Block a user