From b0341236fed747d600e4d8e393db92ddfb9ebc34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20G=C3=B3recki?= Date: Tue, 13 Aug 2024 09:55:25 +0200 Subject: [PATCH] [project-base] Disable middleware prefetch (#3325) --- storefront/next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storefront/next.config.js b/storefront/next.config.js index 947d108ce4..a8911fa4ea 100644 --- a/storefront/next.config.js +++ b/storefront/next.config.js @@ -9,7 +9,7 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({ /** @type {import('next').NextConfig} */ const nextConfig = { - experimental: { scrollRestoration: true }, + experimental: { scrollRestoration: true, middlewarePrefetch: 'strict' }, reactStrictMode: true, swcMinify: true, assetPrefix: process.env.CDN_DOMAIN ?? undefined,