Files
PawanOsman-ChatGPT/.env.example
T
Pawan Osman 4d10b10d9e Add: verification client api_key access function
set API_KEY in .env file to enable this function
Unsetting or setting API_KEY to null will keep the default of allowing anonymous access.

Changes to be committed:
	modified:   .env.example
	modified:   src/app.ts
2024-04-21 16:26:11 +08:00

13 lines
316 B
Bash

SERVER_PORT=3040
USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
NEW_SESSION_RETRIES=5
API_KEY=
CLOUDFLARED=true
PROXY=false
PROXY_HOST=proxy.example.com
PROXY_PORT=8080
PROXY_AUTH=false
PROXY_USERNAME=
PROXY_PASSWORD=
PROXY_PROTOCOL=http