env feature locking to protect contracts

This commit is contained in:
jmwample
2026-01-20 09:21:55 -07:00
parent 00e8528fed
commit 9cca73bc3a
+1
View File
@@ -72,6 +72,7 @@ pub const NYM_VPN_APIS: &[ApiUrlConst] = &[
},
];
#[cfg(feature = "env")]
fn serialize_api_urls(urls: &[ApiUrlConst]) -> String {
serde_json::to_string(urls)
.inspect_err(|e| tracing::warn!("failed to serialize nym_api_urls for env: {e}"))