diff --git a/app/api/hoagie/[...path]/route.ts b/app/api/hoagie/[...path]/route.ts index d27b614..2ae143b 100644 --- a/app/api/hoagie/[...path]/route.ts +++ b/app/api/hoagie/[...path]/route.ts @@ -32,7 +32,7 @@ const handler = withApiAuthRequired(async (request: NextRequest, ctx) => { } return await proxyRequest( - `${process.env.HOAGIE_API_URL}${path}?${queryString}/`, + `${process.env.HOAGIE_API_URL}${path}/?${queryString}`, fetchReq ); });