Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Handle trailing slash in NextJS API routes? - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
2 replies
mmurto
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/
api/integration/
(trailing slash
) and some to
api/integration/schema
api/integration/schema
etc
, which I can
't make work with the API dir
.
Any way to force
index.ts
index.ts
in API route to handle both the trailing slash and without
?
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
"Size" of API routes in NextJS
TTC
Theo's Typesafe Cult / questions
3y ago
nextjs 13 protected api routes
TTC
Theo's Typesafe Cult / questions
3y ago
tRPC vs nextJS API routes
TTC
Theo's Typesafe Cult / questions
4y ago