Skip to content

Commit 202836a

Browse files
Removed relative basePath (not allowed).
1 parent d8d9809 commit 202836a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const nextConfig: NextConfig = {
1919

2020
// Conditionally set the output mode for the build.
2121
output: isStaticExport ? 'export' : undefined,
22-
basePath: './', //isGithubPages ? `/${repoName}` : '',
23-
assetPrefix: './', //isGithubPages ? `/${repoName}/` : '',
22+
//basePath: //isGithubPages ? `/${repoName}` : '',
23+
//assetPrefix: //isGithubPages ? `/${repoName}/` : '',
2424

2525
allowedDevOrigins: ['https://new.codebuilder.org', 'https://new.codebuilder.org:443', 'https://dev.codebuilder.org', 'https://dev.codebuilder.org:443'], // resolves the CORS warning
2626

0 commit comments

Comments
 (0)