diff --git a/.env.example b/.env.example index 111cf02..56895eb 100644 --- a/.env.example +++ b/.env.example @@ -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= diff --git a/AGENTS.md b/AGENTS.md index c6b4e24..5ddacd9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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. - diff --git a/README.md b/README.md index 5946a3c..30cb56c 100644 --- a/README.md +++ b/README.md @@ -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