mirror of
https://github.com/jakejarvis/hoot.git
synced 2025-10-18 14:24:26 -04:00
Remove optional TTLs for favicon and screenshot assets from documentation and environment example
This commit is contained in:
@@ -10,10 +10,6 @@ KV_REST_API_TOKEN=
|
||||
UPLOADTHING_SECRET=
|
||||
UPLOADTHING_APP_ID=
|
||||
|
||||
# Optional TTLs for generated assets (seconds)
|
||||
FAVICON_TTL_SECONDS=
|
||||
SCREENSHOT_TTL_SECONDS=
|
||||
|
||||
# Mapbox access token for react-map-gl
|
||||
NEXT_PUBLIC_MAPBOX_TOKEN=
|
||||
|
||||
|
@@ -45,8 +45,6 @@
|
||||
|
||||
## Security & Configuration Tips
|
||||
- Keep secrets in `.env.local`.
|
||||
- UploadThing: `UPLOADTHING_SECRET` (required), optional `UPLOADTHING_APP_ID`; TTLs `FAVICON_TTL_SECONDS`, `SCREENSHOT_TTL_SECONDS`.
|
||||
- Screenshots (Puppeteer): prefer `puppeteer-core` + `@sparticuz/chromium` on Vercel; optional `PUPPETEER_SKIP_DOWNLOAD=1` to avoid full download; `HOOT_USER_AGENT` to override UA; optional `PUPPETEER_EXECUTABLE_PATH` locally.
|
||||
- Screenshots (Puppeteer): prefer `puppeteer-core` + `@sparticuz/chromium` on Vercel.
|
||||
- Cache Cloudflare DoH, RDAP, TLS, and header probes via `lib/cache`; apply retry backoff to respect provider limits.
|
||||
- Review `server/trpc.ts` when extending procedures to ensure auth/context remain intact.
|
||||
|
||||
|
@@ -51,13 +51,6 @@
|
||||
3. **(Optional) Configure `.env.local`:**
|
||||
See `.env.example` for Redis and UploadThing credentials (needed for caching and favicon/screenshot features).
|
||||
|
||||
Useful keys:
|
||||
- `UPLOADTHING_SECRET` (required)
|
||||
- `UPLOADTHING_APP_ID` (recommended)
|
||||
- `FAVICON_TTL_SECONDS`, `SCREENSHOT_TTL_SECONDS` (optional TTLs)
|
||||
- `HOOT_USER_AGENT` (optional UA override)
|
||||
- `PUPPETEER_SKIP_DOWNLOAD=1` on Vercel to skip full `puppeteer` download
|
||||
|
||||
---
|
||||
|
||||
## 📜 License
|
||||
|
Reference in New Issue
Block a user