@systemfsoftware/trigger.dev_cli
Version:
The Trigger.dev CLI
16 lines (11 loc) • 545 B
JavaScript
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;