rsnext/packages/next/next-server
JJ Kasper 75c721c583
Add has route field (#22341)
This adds support for a `has` field to `rewrites`, `redirects`, and `headers` to allow matching against `header`, `cookie`, and `query` values. Documentation and additional tests for the feature is also added in this PR. 

Closes: https://github.com/vercel/next.js/issues/22345
2021-03-24 16:50:16 +00:00
..
lib Add has route field (#22341) 2021-03-24 16:50:16 +00:00
server Add has route field (#22341) 2021-03-24 16:50:16 +00:00