Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ RATE_LIMIT_MAX=100
# Token and Secret
JWT_SECRET=""
BROWSER_EXTENSION_SECRET=""
JWT_TOKEN_EXPIRY_TIME="3h"


## Mistral AI
Expand Down Expand Up @@ -41,3 +40,6 @@ LLAMA_TIMEOUT_MS=45000
# Lemonsqueezy
LICENSE_CHECK_ENABLED=false
LEMON_SQUEEZY_API_KEY=""

# Leave 0 for direct access; set the exact trusted reverse-proxy hop count when deployed.
TRUST_PROXY_HOPS=0
8 changes: 5 additions & 3 deletions .env.railway.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ REQUEST_BODY_LIMIT=64kb
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX=100

# Must match Succeed AI/Config.swift apiKey in the signed macOS build.
# Shared opaque token for trusted clients of this optional proxy.
JWT_SECRET=

# Optional secondary token for browser-extension or internal clients.
BROWSER_EXTENSION_SECRET=
JWT_TOKEN_EXPIRY_TIME=3h

# Default production provider.
OPENAI_API_ENABLED=true
Expand All @@ -35,6 +34,9 @@ LLAMA_MODEL=
LLAMA_MAX_COMPLETION_TOKENS=1200
LLAMA_TIMEOUT_MS=45000

# Enable only after Lemon Squeezy license keys are available in the macOS app.
# Enable only for clients that send a verified Lemon Squeezy license header.
LICENSE_CHECK_ENABLED=false
LEMON_SQUEEZY_API_KEY=

# Leave 0 for direct access; set the exact trusted reverse-proxy hop count when deployed.
TRUST_PROXY_HOPS=0
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Distribution
dist
.env
.env.*
!.env.dist
!.env.railway.example

# Package manager
node_modules
Expand Down
Loading