diff --git a/app/api/[...slug]/route.ts b/app/api/[...slug]/route.ts index e9c1250..43e9ea4 100644 --- a/app/api/[...slug]/route.ts +++ b/app/api/[...slug]/route.ts @@ -7,7 +7,7 @@ async function handler( { params }: { params: Promise<{ slug: string[] }> } ) { const { slug } = await params; - const path = '/' + slug.join('/'); + const path = '/api/' + slug.join('/'); const url = `${API_BASE}${path}${request.nextUrl.search}`; const headers = new Headers();