-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
27 lines (22 loc) · 922 Bytes
/
Copy path.env.example
File metadata and controls
27 lines (22 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Server
PORT=5000
NODE_ENV=development
# Express trust proxy hops. Default is 1 (typical reverse-proxy / Docker).
# Set false if the process is reached directly.
TRUST_PROXY=1
# CORS. Unset: allow http://localhost:5173 in non-production; same-origin only in production.
# Comma-separated origins, * to reflect any origin, or false to deny cross-origin.
# CORS_ORIGIN=http://localhost:5173
# Storage paths (resolved from the process working directory when relative)
# SQLITE_PATH=backend/database/deaddrop.db
# UPLOAD_DIR=uploads
# Rate limits (defaults shown)
# RATE_LIMIT_API_MAX=100
# RATE_LIMIT_API_WINDOW_MS=900000
# RATE_LIMIT_UPLOAD_MAX=20
# RATE_LIMIT_UPLOAD_WINDOW_MS=3600000
# RATE_LIMIT_DOWNLOAD_MAX=10
# RATE_LIMIT_DOWNLOAD_WINDOW_MS=900000
# Frontend (Vite). Copy to frontend/.env if you need a split-origin API.
# The Vite app reads this from frontend/.env, not this root file.
# VITE_API_BASE_URL=/api