fix(backend: config): bad variable name for redis port

This commit is contained in:
Ada 2023-09-30 16:43:23 +00:00
parent 3448294314
commit 6cee95c077

View file

@ -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