From 3cec7fe35e5de8f3e6fc8467d20b12edb3721231 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Fri, 29 Mar 2024 14:05:12 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20fix(config):=20Correct?= =?UTF-8?q?=20HOST=20and=20PORT=20Environment=20Variables=20(#16)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index ccd8399..ebd57b9 100644 --- a/config.py +++ b/config.py @@ -23,8 +23,8 @@ def get_env_variable(var_name: str, default_value: str = None) -> str: return default_value return value -RAG_HOST = os.getenv('HOST', '0.0.0.0') -RAG_PORT = int(os.getenv('PORT', 8000)) +RAG_HOST = os.getenv('RAG_HOST', '0.0.0.0') +RAG_PORT = int(os.getenv('RAG_PORT', 8000)) RAG_UPLOAD_DIR = get_env_variable("RAG_UPLOAD_DIR", "./uploads/") if not os.path.exists(RAG_UPLOAD_DIR):