Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Fix peering address environment variable assignment.

Kishore Nallana062dbbb3f88
diff --git a/include/config.h b/include/config.h
index 5de3fea7..4e0118c1 100644
--- a/include/config.h
+++ b/include/config.h
@@ -254,7 +254,7 @@ public:
}
if(!get_env("TYPESENSE_PEERING_ADDRESS").empty()) {
- this->api_address = get_env("TYPESENSE_PEERING_ADDRESS");
+ this->peering_address = get_env("TYPESENSE_PEERING_ADDRESS");
}
if(!get_env("TYPESENSE_PEERING_PORT").empty()) {