Skip to content

Commit 96cdc88

Browse files
committed
Update next.config.mjs
1 parent e5db5bb commit 96cdc88

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

TechStacks.Client/next.config.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ const nextConfig = {
3434
unoptimized: true
3535
},
3636

37-
// Add trailing slash for better static hosting compatibility
38-
trailingSlash: true,
37+
// Don't use trailingSlash - it causes issues with dynamic routes in static export
38+
// The C# backend's MapFallbackToFile handles routing correctly without it
39+
trailingSlash: false,
3940

4041
env: {
4142
apiBaseUrl: API_URL

0 commit comments

Comments
 (0)