Skip to content

Commit

Permalink
set basePath and assetPrefix
Browse files Browse the repository at this point in the history
  • Loading branch information
amine250 committed Oct 26, 2024
1 parent f8686a6 commit 12ac416
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import type { NextConfig } from "next";

const nextConfig: NextConfig = {
reactStrictMode: true,
swcMinify: true,
output: 'export',
images: {
unoptimized: true,
},
basePath: '/cheatsheet',
assetPrefix: '/cheatsheet/',
};

export default nextConfig;

0 comments on commit 12ac416

Please sign in to comment.