From dad8d99019b3750c7a25c917fb2cab05fc0d8e1f Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Thu, 13 Feb 2025 07:56:16 +0700 Subject: [PATCH] feat : update next config --- Dockerfile | 1 + next.config.mjs | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b10b74..3ecb452 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,7 @@ RUN pnpm install --frozen-lockfile COPY . . # Building app +RUN rm -rf .next RUN pnpm run build EXPOSE 4000 diff --git a/next.config.mjs b/next.config.mjs index 833dc88..48c8fb0 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -9,13 +9,10 @@ const bundleAnalyzer = withBundleAnalyzer({ }); const nextConfig = { - env: { - _next_intl_trailing_slash: "false" - }, + trailingSlash: true, eslint: { ignoreDuringBuilds: true, }, - assetPrefix: 'https://kontenhumas.com/', images: { remotePatterns: [ {