-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Max Wolfs <[email protected]>
- Loading branch information
Showing
2 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
reactStrictMode: true, | ||
|
||
// For static export and i18n configuration | ||
i18n: { | ||
locales: ['de', 'en'], | ||
defaultLocale: 'en', | ||
}, | ||
|
||
// These settings are important for GitHub Pages | ||
basePath: '/sovereigncloudstack.org', // Replace with your repository name | ||
assetPrefix: '/sovereigncloudstack.org/', // Replace with your repository name | ||
trailingSlash: true, // Adds trailing slash to every route to work with GitHub Pages | ||
|
||
// Optional: Disable server-side rendering completely to ensure static export | ||
output: 'export', // Enable static export | ||
}; | ||
|
||
export default nextConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters