UNPKG

@systemfsoftware/trigger.dev_cli

Version:
16 lines (11 loc) 545 B
import { createPagesRoute } from "@systemfsoftware/trigger.dev_nextjs"; import { client } from "${routePathPrefix}trigger"; import "${routePathPrefix}jobs"; //uncomment this to set a higher max duration (it must be inside your plan limits). Full docs: https://vercel.com/docs/functions/serverless-functions/runtimes#max-duration //export const config = { // maxDuration: 60, //}; //this route is used to send and receive data with Trigger.dev const { handler, config } = createPagesRoute(client); export { config }; export default handler;