Skip to content

Commit 9264e41

Browse files
Udated next config for github pages
1 parent a705d4c commit 9264e41

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

next.config.ts

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

33
const nextConfig: NextConfig = {
4-
/* config options here */
4+
basePath: '/next-landing-template',
5+
assetPrefix: '/next-landing-template',
6+
images: {
7+
unoptimized: true,
8+
},
9+
reactStrictMode: true,
10+
compress: true,
511
};
612

713
export default nextConfig;

0 commit comments

Comments
 (0)