Files
Florentin / 珞辰andGitHub ffd504c43f [functions-config-manifest] use correct extra config for pages router (#54786)
When using page routes we need to pass the contents of the `export const config` to the `extraConfig` populating the functions config manifest rather then relying on named exports like in app router.
2023-09-05 14:13:37 +00:00

8 lines
102 B
TypeScript

export default function Page() {
;<p>hello world</p>
}
export const config = {
maxDuration: 2,
}