From 9198b6a731388c0bd9ed7306b0c224865537d2c4 Mon Sep 17 00:00:00 2001 From: Alaguraj0361 Date: Sat, 6 Dec 2025 14:13:43 +0530 Subject: [PATCH 1/2] config: disable trailing slashes in Next.js output --- next.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index aa3958c..c22a0c4 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,7 +2,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: 'export', - trailingSlash: true, + trailingSlash: false, images: { unoptimized: true, }, From b1fff97254134a15841ad382f29ba8c120204876 Mon Sep 17 00:00:00 2001 From: Alaguraj0361 Date: Sat, 6 Dec 2025 14:27:14 +0530 Subject: [PATCH 2/2] chore: Set Next.js `trailingSlash` option to true. --- next.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index c22a0c4..aa3958c 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,7 +2,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: 'export', - trailingSlash: false, + trailingSlash: true, images: { unoptimized: true, },