From a8c28dfa812acfb6e55ba7f2f3aeca5c995ac02d Mon Sep 17 00:00:00 2001 From: Shreyas Chorge Date: Tue, 22 Nov 2022 12:43:40 +0530 Subject: [PATCH] fix too-many-filesystem-checks issue --- next.config.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/next.config.js b/next.config.js index c2bd5a2f01..1f6a2aa423 100644 --- a/next.config.js +++ b/next.config.js @@ -198,18 +198,6 @@ module.exports = withPlugins([[withBundleAnalyzer]], { }, ]; }, - async rewrites() { - return { - fallback: [ - // These rewrites are checked after both pages/public files - // and dynamic routes are checked - { - source: '/profile/:slug*', - destination: `/profile/`, - }, - ], - }; - }, assetPrefix: hasAssetPrefix ? `${scheme}://${process.env.ASSET_PREFIX}` : '', // Asset Prefix allows to use CDN for the generated js files // https://nextjs.org/docs/api-reference/next.config.js/cdn-support-with-asset-prefix