Pages
This commit is contained in:
+1
-1
@@ -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
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user