We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89ecc46 commit 482ed93Copy full SHA for 482ed93
next.config.mjs
@@ -7,15 +7,10 @@ try {
7
// ignore error
8
}
9
10
-// Determine if this build is specifically for GitHub Pages static export
11
-const isGithubPagesBuild = process.env.GITHUB_PAGES_BUILD === 'true';
12
-
13
/** @type {import('next').NextConfig} */
14
const nextConfig = {
15
// Configure basePath and assetPrefix conditionally
16
// Use basePath only for GitHub Pages builds
17
- basePath: isGithubPagesBuild ? "/JSON_Schema_Validator" : "",
18
- assetPrefix: isGithubPagesBuild ? "/JSON_Schema_Validator/" : "/",
19
20
// Add eslint configuration to ignore during builds
21
eslint: {
0 commit comments