fix(backend: config): bad variable name for redis port
This commit is contained in:
parent
3448294314
commit
6cee95c077
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
from os import getenv
|
from os import getenv
|
||||||
|
|
||||||
REDIS_HOST = getenv("PASTE_REDIS_HOST") or "localhost"
|
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_USER = getenv("PASTE_REDIS_USER") or None
|
||||||
REDIS_PASSWORD = getenv("PASTE_REDIS_PASSWORD") or None
|
REDIS_PASSWORD = getenv("PASTE_REDIS_PASSWORD") or None
|
||||||
URL_LENGTH = getenv("PASTE_URL_LENGTH") or 4
|
URL_LENGTH = getenv("PASTE_URL_LENGTH") or 4
|
||||||
|
|
Reference in a new issue