Skip to content

Commit

Permalink
chore: remove unused NO_DEBUG env
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycarambat committed Dec 7, 2023
1 parent fcb591d commit fecfb0f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
9 changes: 4 additions & 5 deletions docker/.env.example
Original file line number Diff line number Diff line change
@@ -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.

###########################################
Expand Down Expand Up @@ -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"
Expand All @@ -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 ##############
Expand Down
1 change: 0 additions & 1 deletion server/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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 ##############
Expand Down
1 change: 0 additions & 1 deletion server/models/systemSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fecfb0f

Please sign in to comment.