mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 04:22:12 +00:00
* [now dev] Use `pcre-to-regexp` to match `routes` The now.json `routes` support PCRE syntax like named captures, so use the `pcre-to-regexp` module to match the routes. Fixes #2023. * Pass the resolved router `dest` and query params to the Lambda
4 lines
105 B
TypeScript
4 lines
105 B
TypeScript
declare module 'pcre-to-regexp' {
|
|
export default function (pattern: string, keys?: string[]): RegExp
|
|
}
|