this repo has no description
5
fork

Configure Feed

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

fix: specify runtime

authored by

Turtlepaw and committed by
GitHub
ac6f4558 345870f5

+8 -1
+4 -1
package.json
··· 6 6 "dev": "next dev --turbopack -H 127.0.0.1 -p 3000", 7 7 "build": "next build", 8 8 "start": "next start", 9 - "lint": "next lint" 9 + "lint": "next lint", 10 + "pages:build": "npx @cloudflare/next-on-pages", 11 + "preview": "npm run pages:build && wrangler pages dev", 12 + "deploy": "npm run pages:build && wrangler pages deploy" 10 13 }, 11 14 "dependencies": { 12 15 "@atproto/api": "^0.15.27",
+2
src/app/[did]/[uri]/page.tsx
··· 28 28 return str; 29 29 } 30 30 31 + export const runtime = "edge"; 32 + 31 33 export default function PostPage({ 32 34 params, 33 35 }: {
+2
src/app/page.tsx
··· 14 14 import Masonry from "react-masonry-css"; 15 15 import { motion } from "motion/react"; 16 16 17 + export const runtime = "edge"; 18 + 17 19 export default function Home() { 18 20 const [timeline, setTimeline] = useState<AppBskyFeedDefs.FeedViewPost[]>([]); 19 21 const [cursor, setCursor] = useState<string | null>(null);