Skip to content

Commit c6889e9

Browse files
committed
Add basePath to publicRuntimeConfig in Next.js configuration
1 parent f256601 commit c6889e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

template-base/next.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ const nextConfig: NextConfig = {
88
images: {
99
unoptimized: true,
1010
},
11+
publicRuntimeConfig: {
12+
basePath: '/nextjs-app-template',
13+
},
1114
};
1215

1316
export default nextConfig;

0 commit comments

Comments
 (0)