mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update next.config.js
This commit is contained in:
parent
dbb6cfab27
commit
a9a89b5b46
@ -1,12 +1,11 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
output: 'export',
|
output: "export", // Forces static export for GitHub Pages
|
||||||
|
trailingSlash: true, // Fixes route issues
|
||||||
images: {
|
images: {
|
||||||
unoptimized: true,
|
unoptimized: true, // Fixes image loading issues on GitHub Pages
|
||||||
},
|
},
|
||||||
assetPrefix: '/ProxMenux/',
|
assetPrefix: process.env.NODE_ENV === "production" ? "/ProxMenux" : "",
|
||||||
basePath: '/ProxMenux',
|
}
|
||||||
trailingSlash: true,
|
|
||||||
};
|
|
||||||
|
|
||||||
module.exports = nextConfig;
|
module.exports = nextConfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user