feat(app): add password auth for settings

This commit is contained in:
ItzCrazyKns
2024-08-02 19:32:38 +05:30
parent c4932c659a
commit fdfe8d1f41
7 changed files with 152 additions and 41 deletions

View File

@ -1,6 +1,10 @@
[GENERAL]
PORT = 3001 # Port to run the server on
SIMILARITY_MEASURE = "cosine" # "cosine" or "dot"
CONFIG_PASSWORD = "lorem_ipsum" # Password to access config
DISCOVER_ENABLED = true
LIBRARY_ENABLED = true
COPILOT_ENABLED = true
[API_KEYS]
OPENAI = "" # OpenAI API key - sk-1234567890abcdef1234567890abcdef