diff --git a/app/blogs/[slug]/page.tsx b/app/blogs/[slug]/page.tsx index 503a3b7..51bf1cb 100644 --- a/app/blogs/[slug]/page.tsx +++ b/app/blogs/[slug]/page.tsx @@ -67,6 +67,8 @@ export async function generateMetadata({ }; } +export const dynamicParams = false; + export default async function BlogPage({ params }: Readonly) { const { slug } = await params; const { publishedAt, summary, title } = await getBlogMetadataBySlug(slug); diff --git a/bun.lockb b/bun.lockb index 2e4b1af..9e02d8d 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 6f717ca..06729ce 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "db:up": "drizzle-kit up" }, "dependencies": { - "@ai-sdk/openai": "^1.0.6", + "@ai-sdk/openai": "^1.0.7", "@auth/drizzle-adapter": "^1.7.4", "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.16.0", @@ -29,7 +29,7 @@ "@icons-pack/react-simple-icons": "^10.2.0", "@mdx-js/loader": "^3.1.0", "@mdx-js/react": "^3.1.0", - "@next/mdx": "^15.0.4-canary.41", + "@next/mdx": "^15.0.4-canary.42", "@radix-ui/react-avatar": "^1.1.1", "@radix-ui/react-dialog": "^1.1.2", "@radix-ui/react-dropdown-menu": "^2.1.2", @@ -40,12 +40,12 @@ "@types/node": "^22.10.1", "@types/react": "npm:types-react@rc", "@types/react-dom": "npm:types-react-dom@rc", - "@upstash/ratelimit": "^2.0.4", + "@upstash/ratelimit": "^2.0.5", "@vercel/analytics": "^1.4.1", "@vercel/kv": "^3.0.0", "@vercel/postgres": "^0.10.0", "@vercel/speed-insights": "^1.1.0", - "ai": "^4.0.11", + "ai": "^4.0.12", "autoprefixer": "^10.4.20", "babel-plugin-react-compiler": "^19.0.0-beta-df7b47d-20241124", "class-variance-authority": "^0.7.1", @@ -56,13 +56,13 @@ "drizzle-orm": "^0.37.0", "drizzle-zod": "^0.5.1", "eslint": "^9.16.0", - "eslint-config-next": "^15.0.4-canary.41", + "eslint-config-next": "^15.0.4-canary.42", "eslint-config-prettier": "^9.1.0", "eslint-plugin-react-compiler": "^19.0.0-beta-df7b47d-20241124", "framer-motion": "12.0.0-alpha.2", "langchain": "^0.3.6", "lucide-react": "0.467.0", - "next": "^15.0.4-canary.41", + "next": "^15.0.4-canary.42", "next-auth": "5.0.0-beta.25", "next-themes": "^0.4.3", "next-view-transitions": "^0.3.4",