From 8890955e05c83eb0488509b5a58d8f3ff4669b55 Mon Sep 17 00:00:00 2001 From: raviendalpatadu <102800797+raviendalpatadu@users.noreply.github.com> Date: Sun, 20 Apr 2025 10:43:50 +0530 Subject: [PATCH] fix: update assetPrefix in Next.js configuration for non-production environments --- next.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index 4381bce..9df3596 100644 --- a/next.config.ts +++ b/next.config.ts @@ -7,7 +7,7 @@ const nextConfig: NextConfig = { images: { unoptimized: true, // Disable default image optimization }, - assetPrefix: isProd ? "/codequest-24/" : "", + assetPrefix: isProd ? "" : "", basePath: isProd ? "/codequest-24" : "", output: "export", };