#15

feat(routes): add documentation for Favicon API route handlers

Openastro-fusionwants to merge intofrom

Favicon API Routes

Description

This PR documents the conversion of static favicon.ico files to API Route Handlers in complex routing architectures.

Changes

  • Favicon API Route: Documentation on implementing app/favicon.ico/route.ts.
  • Crawler Compatibility: Recommended export of GET, HEAD, and OPTIONS handlers to ensure web crawlers and cross-origin checks remain safe.

Rationale

Static assets can sometimes be problematic in specific monorepo routing or deployment configurations (e.g. edge proxies). When converting to an API route, missing the recommended HEAD or OPTIONS methods can lead to indexing or asset-discovery errors by crawlers.