Handle trailing slash in NextJS API routes?
I'm trying to create an integration to Fibery through NextJS's API routes, but Fibery's integration engine seems to send one request to
api/integration/
(trailing slash) and some to api/integration/schema
etc, which I can't make work with the API dir. 😄 Any way to force index.ts
in API route to handle both the trailing slash and without?1 Reply
Never mind, stupid error on reading the Fibery docs 🙂