Skip to content

Commit

Permalink
[project-base] Disable middleware prefetch (#3325)
Browse files Browse the repository at this point in the history
  • Loading branch information
henzigo authored Aug 13, 2024
1 parent 924dbc3 commit b034123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storefront/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b034123

Please sign in to comment.