forked from rn0x/HTMLSnapshot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
10 lines (10 loc) · 775 Bytes
/
.env.example
File metadata and controls
10 lines (10 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
NODE_ENV=development # The environment the server is running in (development or production)
PORT=3000 # Server port
PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome # Path to the executable for Chrome
PUPPETEER_HEADLESS=true # Can be set to true or false
PUPPETEER_TIMEOUT=10000 # Timeout in milliseconds
IMAGE_QUALITY=100 # Image quality (0 to 100)
IMAGE_TYPE=jpeg # Image type (jpeg or png)
RATE_LIMIT_WINDOW_MS=3600000 # 1 hour
RATE_LIMIT_MAX=500 # Maximum requests per IP
BODY_SIZE_LIMIT=10mb # Maximum body size