chore: remove unused NO_DEBUG env

This commit is contained in:
timothycarambat 2023-12-07 14:14:30 -08:00
parent fcb591d364
commit fecfb0fafc
3 changed files with 4 additions and 7 deletions

View File

@ -1,5 +1,8 @@
SERVER_PORT=3001
CACHE_VECTORS="true"
STORAGE_DIR="/app/server/storage"
UID='1000'
GID='1000'
# JWT_SECRET="my-random-string-for-seeding" # Only needed if AUTH_TOKEN is set. Please generate random string at least 12 chars long.
###########################################
@ -61,7 +64,7 @@ CACHE_VECTORS="true"
# PINECONE_INDEX=
# Enable all below if you are using vector database: LanceDB.
VECTOR_DB="lancedb"
# VECTOR_DB="lancedb"
# Enable all below if you are using vector database: Weaviate.
# VECTOR_DB="weaviate"
@ -75,10 +78,6 @@ VECTOR_DB="lancedb"
# CLOUD DEPLOYMENT VARIRABLES ONLY
# AUTH_TOKEN="hunter2" # This is the password to your application if remote hosting.
# NO_DEBUG="true"
STORAGE_DIR="/app/server/storage"
UID='1000'
GID='1000'
###########################################
######## PASSWORD COMPLEXITY ##############

View File

@ -77,7 +77,6 @@ VECTOR_DB="lancedb"
# CLOUD DEPLOYMENT VARIRABLES ONLY
# AUTH_TOKEN="hunter2" # This is the password to your application if remote hosting.
# STORAGE_DIR= # absolute filesystem path with no trailing slash
# NO_DEBUG="true"
###########################################
######## PASSWORD COMPLEXITY ##############

View File

@ -17,7 +17,6 @@ const SystemSettings = {
const llmProvider = process.env.LLM_PROVIDER || "openai";
const vectorDB = process.env.VECTOR_DB || "lancedb";
return {
CanDebug: !!!process.env.NO_DEBUG,
RequiresAuth: !!process.env.AUTH_TOKEN,
AuthToken: !!process.env.AUTH_TOKEN,
JWTSecret: !!process.env.JWT_SECRET,