BLOG-86 fix: redis URL in session configuration to use correct localhost address
This commit is contained in:
parent
0d6810f3d5
commit
87982fd480
@ -20,7 +20,7 @@ impl SessionConfiguration {
|
|||||||
let session_key = Key::from(&session_key_bytes);
|
let session_key = Key::from(&session_key_bytes);
|
||||||
|
|
||||||
let redis_url =
|
let redis_url =
|
||||||
std::env::var("REDIS_URL").unwrap_or_else(|_| "redis://127.0.1:6379".to_string());
|
std::env::var("REDIS_URL").unwrap_or_else(|_| "redis://127.0.0.1:6379".to_string());
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
session_key,
|
session_key,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user