Skip to content

Commit

Permalink
Let next.js handle trailing slash for legacy reference links
Browse files Browse the repository at this point in the history
  • Loading branch information
mengqi92 committed Mar 31, 2024
1 parent 310020d commit 9157ca8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { withContentlayer } from 'next-contentlayer';
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
trailingSlash: true,
output: 'export',
// show remote images
images: {
Expand Down

0 comments on commit 9157ca8

Please sign in to comment.