From 61707f89e0e7bbb1e08c723450081551aafffaee Mon Sep 17 00:00:00 2001 From: Neeraj Rekwar <88387699+neerajrekwar@users.noreply.github.com> Date: Mon, 26 Aug 2024 06:59:52 +0000 Subject: [PATCH] hgfd --- app/blog/[id]/page.tsx | 2 +- next.config.mjs | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/blog/[id]/page.tsx b/app/blog/[id]/page.tsx index 435f0a390..388aa2d98 100644 --- a/app/blog/[id]/page.tsx +++ b/app/blog/[id]/page.tsx @@ -6,7 +6,7 @@ import { notFound } from 'next/navigation'; interface BlogPostPageProps { params: { id: string; - slug: string; + }; } diff --git a/next.config.mjs b/next.config.mjs index 0d08cc23c..73cb91198 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,12 +1,11 @@ /** @type {import('next').NextConfig} */ - const nextConfig = { - + images: { - domains: ['images.unsplash.com'], // Allow images from specific domains + domains: ['images.unsplash.com'], }, webpack: (config) => { - config.cache = false; // Disable cache for webpack builds + config.cache = false; return config; }, };