mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-12 06:24:29 +01:00
Fix segment_analytics default_http_addr import
This commit is contained in:
parent
435778f328
commit
d1c10d6d68
@ -26,6 +26,7 @@ use tokio::sync::mpsc::{self, Receiver, Sender};
|
|||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
use crate::analytics::Analytics;
|
use crate::analytics::Analytics;
|
||||||
|
use crate::option::default_http_addr;
|
||||||
use crate::routes::indexes::documents::UpdateDocumentsQuery;
|
use crate::routes::indexes::documents::UpdateDocumentsQuery;
|
||||||
use crate::Opt;
|
use crate::Opt;
|
||||||
|
|
||||||
|
@ -465,7 +465,7 @@ fn default_db_path() -> PathBuf {
|
|||||||
PathBuf::from(DEFAULT_DB_PATH)
|
PathBuf::from(DEFAULT_DB_PATH)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn default_http_addr() -> String {
|
pub fn default_http_addr() -> String {
|
||||||
DEFAULT_HTTP_ADDR.to_string()
|
DEFAULT_HTTP_ADDR.to_string()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user