This commit is contained in:
2024-10-14 21:49:04 +00:00
parent 87ccd503f5
commit de1e327e91
2 changed files with 6 additions and 11 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ before_script:
pages: pages:
script: script:
- npm run build - npm run build
- mkdir public - mkdir -p public
- cp -r out/* public - cp -r out/* public
artifacts: artifacts:
paths: paths:
+5 -10
View File
@@ -3,16 +3,11 @@
*/ */
const nextConfig = { const nextConfig = {
output: 'export', output: 'export',
reactStrictMode: true,
// Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html` images: {
// trailingSlash: true, unoptimized: true,
},
// Optional: Prevent automatic `/me` -> `/me/`, instead preserve `href` assetPrefix: "https://pages.fostin.de/sinusfox/Operations-Research-Tool/",
// skipTrailingSlashRedirect: true,
// Optional: Change the output directory `out` -> `dist`
// distDir: 'dist',
}; };
// Exportiere die Konfiguration mit der ES-Module-Syntax
export default nextConfig; export default nextConfig;