You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to access the trigger url from my server: http://localhost:3000/api/trigger
I know it does not support GET request for the api, but Is there any way that make the error does not sound like Internal error?
Reproduction repo
N/A
To reproduce
Create a new project and deploy with pages folder (nextjs 12). I am using trigger v2
pages/api/trigger.tsx
import{createPagesRoute}from"@trigger.dev/nextjs";import{trigger}from"@utils/trigger";import"@jobs/index";// this route is used to send and receive data with Trigger.devconst{ handler, config }=createPagesRoute(trigger);export{config};exportdefaulthandler;
Additional information
No response
The text was updated successfully, but these errors were encountered:
Provide environment information
Describe the bug
I try to access the trigger url from my server: http://localhost:3000/api/trigger
I know it does not support GET request for the api, but Is there any way that make the error does not sound like
Internal error
?Reproduction repo
N/A
To reproduce
Create a new project and deploy with pages folder (nextjs 12). I am using trigger v2
pages/api/trigger.tsx
Additional information
No response
The text was updated successfully, but these errors were encountered: