I’m currently getting an error when trying to use Next.js - Optional catch all routes in my Next.js application.
Example Next.js Route:
XDN error - Route pattern "/_next/data/:build/post/::slug*.json" contains invalid syntax.
Are optional catch all routes not currently supported by
Note: catch all routes work fine, e.g.
/pages/post/[...slug].js. Is there an intended workaround or do I need to duplicate the route/page within both