@vercel/build-utils 2.12.3-canary.1 → 2.12.3-canary.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -746,7 +746,7 @@ function getRouteResult(apiRoutes, dynamicRoutes, outputDirectory, apiBuilders,
746
746
  // https://nextjs.org/docs/advanced-features/custom-error-page
747
747
  errorRoutes.push({
748
748
  status: 404,
749
- src: '^/(?!.*api).*$',
749
+ src: '^(?!/api).*$',
750
750
  dest: options.cleanUrls ? '/404' : '/404.html',
751
751
  });
752
752
  }