This repository was archived by the owner on May 10, 2021. It is now read-only.
This repository was archived by the owner on May 10, 2021. It is now read-only.
You cannot define a route with the same specificity as a optional catch-all route #76
Closed
Description
I have the following page structure:
Page
┌ /_app
├ ● /[[...rest]]
├ ├ /
├ └ /careers
├ ○ /404
└ λ /api/preview
Command build
runs successfully but running next-on-netlify
spits out the following error:
Error: You cannot define a route with the same specificity as a optional catch-all route ("/" and "/[[...rest]]").