Merge branch 'pages' into 'main'

Pages

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