From 42cfe25315984e124798f295dd49fdcf58832b4a Mon Sep 17 00:00:00 2001 From: "[dyad]" Date: Sun, 18 Jan 2026 12:42:39 +0100 Subject: [PATCH] [dyad] Fixed 404 error by adding i18n plugin to Next.js config - wrote 1 file(s) --- next.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index a23e855..43f5b37 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,4 +1,7 @@ import type { NextConfig } from "next"; +import createNextIntlPlugin from 'next-intl/plugin'; + +const withNextIntl = createNextIntlPlugin(); const nextConfig: NextConfig = { webpack: (config) => { @@ -14,4 +17,4 @@ const nextConfig: NextConfig = { }, }; -export default nextConfig; +export default withNextIntl(nextConfig); \ No newline at end of file