feat : update next config

This commit is contained in:
hanif salafi 2025-02-13 07:56:16 +07:00
parent f612fb4024
commit dad8d99019
2 changed files with 2 additions and 4 deletions

View File

@ -26,6 +26,7 @@ RUN pnpm install --frozen-lockfile
COPY . . COPY . .
# Building app # Building app
RUN rm -rf .next
RUN pnpm run build RUN pnpm run build
EXPOSE 4000 EXPOSE 4000

View File

@ -9,13 +9,10 @@ const bundleAnalyzer = withBundleAnalyzer({
}); });
const nextConfig = { const nextConfig = {
env: { trailingSlash: true,
_next_intl_trailing_slash: "false"
},
eslint: { eslint: {
ignoreDuringBuilds: true, ignoreDuringBuilds: true,
}, },
assetPrefix: 'https://kontenhumas.com/',
images: { images: {
remotePatterns: [ remotePatterns: [
{ {