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} */
|
||||
const nextConfig = {
|
||||
output: 'export',
|
||||
output: "export", // Forces static export for GitHub Pages
|
||||
trailingSlash: true, // Fixes route issues
|
||||
images: {
|
||||
unoptimized: true,
|
||||
unoptimized: true, // Fixes image loading issues on GitHub Pages
|
||||
},
|
||||
assetPrefix: '/ProxMenux/',
|
||||
basePath: '/ProxMenux',
|
||||
trailingSlash: true,
|
||||
};
|
||||
assetPrefix: process.env.NODE_ENV === "production" ? "/ProxMenux" : "",
|
||||
}
|
||||
|
||||
module.exports = nextConfig;
|
||||
module.exports = nextConfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user