Skip to content

Commit 37ff339

Browse files
committed
GH Pages fix
1 parent 23f795b commit 37ff339

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

next.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import type { NextConfig } from "next";
55
const nextConfig: NextConfig = {
66
output: 'export',
77
basePath: isGitHubPages ? '/Dashboard_25-26' : '',
8+
assetPrefix: isGitHubPages ? '/repo-name/' : '/',
9+
trailingSlash: true,
810
outputFileTracingExcludes: {
911
'/api/*': ['src/app/api/**/*'],
1012
}

0 commit comments

Comments
 (0)