From 2ac36cec935757ec678025738e59c788ef921d38 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 15 Nov 2023 23:43:52 -0800 Subject: export spotiy-lrc with edge route --- src/app/api/spotify-lrc/route.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/api/spotify-lrc/route.ts b/src/app/api/spotify-lrc/route.ts index c332e88..793f393 100644 --- a/src/app/api/spotify-lrc/route.ts +++ b/src/app/api/spotify-lrc/route.ts @@ -39,6 +39,7 @@ function convertLinesToLrc(lines: Line[] | undefined) { return lrc; } +export const runtime = 'edge'; export async function GET(request: NextRequest) { const searchParams = request.nextUrl.searchParams const q = searchParams.get('q'); -- cgit v1.2.3