update osm

This commit is contained in:
Heidi
2026-05-16 09:35:51 +01:00
parent f36bdf3738
commit e44b263f2e
6 changed files with 310 additions and 25 deletions
+14
View File
@@ -14,12 +14,26 @@ API_CACHE_TTL_MS=15000
API_RATE_LIMIT_WINDOW_MS=60000
API_RATE_LIMIT_MAX=120
# Proxy trust. Set to "cloudflare" when the app is fronted by Cloudflare (possibly via nginx).
# "generic" trusts X-Forwarded-* without CF-specific headers. "none" ignores all proxy headers.
# Only honors trusted headers when the immediate TCP peer is in TRUSTED_UPSTREAM_IPS.
TRUST_PROXY=cloudflare
TRUSTED_UPSTREAM_IPS=127.0.0.1,::1,::ffff:127.0.0.1
WEBHOOK_PORT=3011
GITHUB_WEBHOOK_SECRET=change-me
# Comma-separated refs allowed to trigger a deploy. Defaults to refs/heads/main.
GITHUB_WEBHOOK_REFS=refs/heads/main
# Optional: refuse pushes whose repository.full_name does not match (e.g. "owner/repo").
GITHUB_WEBHOOK_REPOSITORY=
PM2_RESTART_TARGETS=tssbot-web
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/...
# Set to "true" only if the Discord channel is private. Default omits the patch preview
# from Discord notifications to avoid leaking diffs (including any inline secrets).
DISCORD_INCLUDE_PATCH=true
# Cloudflare Turnstile. VITE_TURNSTILE_SITE_KEY is the public site key baked into the client bundle by Vite.
# TURNSTILE_SECRET_KEY is the server-only secret used to call the Siteverify endpoint.
# If left blank, the gated deletion endpoint is open (no challenge enforced). Set both to enforce.
VITE_TURNSTILE_SITE_KEY=
TURNSTILE_SECRET_KEY=