diff options
| author | Pinapelz <yukais@pinapelz.com> | 2023-11-15 23:43:52 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2023-11-15 23:43:52 -0800 |
| commit | 2ac36cec935757ec678025738e59c788ef921d38 (patch) | |
| tree | d8db6cfb721a97b4775da531732668924ae367a0 | |
| parent | 6860c5529bab2e35864e1c5803974bd0ffe43222 (diff) | |
export spotiy-lrc with edge route
| -rw-r--r-- | src/app/api/spotify-lrc/route.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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'); |
