fix (backend-rs): use hostname for Redis key prefix and host for Redis streams

I suspect this is a bug, but I keep this behavior for compatibility for now
This commit is contained in:
naskya 2024-04-22 05:16:14 +09:00
parent 9fef36e80c
commit 0c9dc92f07
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -320,7 +320,7 @@ fn load_config() -> Config {
} else {
server_config.redis.prefix.clone()
}
.unwrap_or(host.clone());
.unwrap_or(hostname.clone());
Config {
url: server_config.url,