logs
This commit is contained in:
parent
36aad923d3
commit
7f27874be6
|
@ -73,7 +73,7 @@ async fn sse_handler(
|
|||
#[actix_web::main]
|
||||
async fn main() -> std::io::Result<()> {
|
||||
let redis_url = env::var("REDIS_URL").unwrap_or_else(|_| String::from("redis://127.0.0.1/"));
|
||||
let client = redis::Client::open(redis_url).unwrap();
|
||||
let client = redis::Client::open(redis_url.clone()).unwrap();
|
||||
|
||||
println!("Connecting to Redis: {}", redis_url);
|
||||
HttpServer::new(move || {
|
||||
|
|
Loading…
Reference in New Issue
Block a user