mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-25 04:56:28 +00:00 
			
		
		
		
	Change default bind address to localhost
This commit is contained in:
		| @@ -235,7 +235,7 @@ impl Segment { | ||||
|             let dumps_dir = opt.dumps_dir != PathBuf::from("dumps/"); | ||||
|             let import_snapshot = opt.import_snapshot.is_some(); | ||||
|             let snapshots_dir = opt.snapshot_dir != PathBuf::from("snapshots/"); | ||||
|             let http_addr = opt.http_addr != "127.0.0.1:7700"; | ||||
|             let http_addr = opt.http_addr != default_http_addr(); | ||||
|  | ||||
|             let mut infos = serde_json::to_value(opt).unwrap(); | ||||
|  | ||||
|   | ||||
| @@ -52,7 +52,7 @@ const MEILI_LOG_LEVEL: &str = "MEILI_LOG_LEVEL"; | ||||
| const MEILI_ENABLE_METRICS_ROUTE: &str = "MEILI_ENABLE_METRICS_ROUTE"; | ||||
|  | ||||
| const DEFAULT_DB_PATH: &str = "./data.ms"; | ||||
| const DEFAULT_HTTP_ADDR: &str = "127.0.0.1:7700"; | ||||
| const DEFAULT_HTTP_ADDR: &str = "localhost:7700"; | ||||
| const DEFAULT_ENV: &str = "development"; | ||||
| const DEFAULT_MAX_INDEX_SIZE: &str = "100 GiB"; | ||||
| const DEFAULT_MAX_TASK_DB_SIZE: &str = "100 GiB"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user