Skip to content

Commit

Permalink
rectify default port
Browse files Browse the repository at this point in the history
  • Loading branch information
scrayos committed Jan 30, 2024
1 parent eb41bf0 commit 2919a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use xenos::service::XenosService;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// read configuration from environment
let addr_str = env::var("SERVER_ADDR").unwrap_or("0.0.0.0:50052".to_string());
let addr_str = env::var("SERVER_ADDR").unwrap_or("0.0.0.0:50051".to_string());
let redis_str = env::var("REDIS_ADDR").expect("redis address required");

// build redis client and cache
Expand Down

0 comments on commit 2919a1b

Please sign in to comment.