From 79932227151570fcc21c55aaf3f1364dd2d8ed1d Mon Sep 17 00:00:00 2001 From: Ada Date: Sat, 30 Sep 2023 16:43:23 +0000 Subject: [PATCH] fix(backend: config): bad variable name for redis port --- paste/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paste/config.py b/paste/config.py index 9039716..7c1a57b 100755 --- a/paste/config.py +++ b/paste/config.py @@ -2,7 +2,7 @@ from os import getenv REDIS_HOST = getenv("PASTE_REDIS_HOST") or "localhost" -REDIS_PORT = getenv("PASTE_REDIS_HOST") or "6379" +REDIS_PORT = getenv("PASTE_REDIS_PORT") or "6379" REDIS_USER = getenv("PASTE_REDIS_USER") or None REDIS_PASSWORD = getenv("PASTE_REDIS_PASSWORD") or None URL_LENGTH = getenv("PASTE_URL_LENGTH") or 4