social components inlay.at
atproto components sdui
86
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 29 lines 582 B view raw
1// next.config.ts 2import type { NextConfig } from "next"; 3 4const nextConfig: NextConfig = { 5 cacheComponents: true, 6 cacheHandlers: { 7 default: require.resolve("./cache-handler/handlers/redis.mjs"), 8 }, 9 logging: { 10 fetches: { 11 fullUrl: true, 12 }, 13 }, 14 async headers() { 15 return [ 16 { 17 source: "/:path*.(png|jpg|jpeg|ico|svg|webp)", 18 headers: [ 19 { 20 key: "Cache-Control", 21 value: "public, max-age=86400, stale-while-revalidate=604800", 22 }, 23 ], 24 }, 25 ]; 26 }, 27}; 28 29export default nextConfig;