feat:修改 next.config.mjs
aboutme / deploy (push) Successful in 21s

This commit is contained in:
2026-08-20 10:50:58 +08:00
parent 9c2ba119b6
commit 4a0c207f25
+8 -6
View File
@@ -1,13 +1,15 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
// Docker 运行阶段只拷 .next/standalone + static // Docker 运行阶段只拷 .next/standalone + static
output: 'standalone', output: "standalone",
basePath: "/about",
assetPrefix: "/about",
typescript: { typescript: {
ignoreBuildErrors: true, ignoreBuildErrors: true
}, },
images: { images: {
unoptimized: true, unoptimized: true
}, }
} };
export default nextConfig export default nextConfig;