diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 179a934..276cfdb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ before_script: pages: script: - npm run build - - mkdir public + - mkdir -p public - cp -r out/* public artifacts: paths: diff --git a/next.config.mjs b/next.config.mjs index 6d1bb7f..f48d474 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -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;