Skip to content

Commit 12ac416

Browse files
committed
set basePath and assetPrefix
1 parent f8686a6 commit 12ac416

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

next.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
44
reactStrictMode: true,
5-
swcMinify: true,
65
output: 'export',
76
images: {
87
unoptimized: true,
98
},
9+
basePath: '/cheatsheet',
10+
assetPrefix: '/cheatsheet/',
1011
};
1112

1213
export default nextConfig;

0 commit comments

Comments
 (0)