Skip to main content

Test Redirect (test-redirect/page.tsx)

Client page with two buttons opening new tabs:

ActionURLExpected
Browser redirect test/api/og-image?seed=test-123Redirect to OG image viewer route
Direct API test/api/og-image?seed=test-123&direct=trueRaw image response

Documents intended behavior for content negotiation on the OG image API (browser vs direct). Tailwind utility classes for layout only.


Sources: src/app/test-redirect/page.tsx