Skip to content

Commit

Permalink
fix: specify inngest serve host and path (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz authored Sep 10, 2024
1 parent 52b0351 commit 43df142
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/api/inngest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,4 +287,7 @@ const periodicZap = inngest.createFunction(
},
);

export default serve(inngest, [periodicZap]);
export default serve(inngest, [periodicZap], {
serveHost: "https://nwc-periodic-payments.fly.dev",
servePath: "/api/inngest",
});

0 comments on commit 43df142

Please sign in to comment.