aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2023-11-15 23:43:52 -0800
committerPinapelz <yukais@pinapelz.com>2023-11-15 23:43:52 -0800
commit2ac36cec935757ec678025738e59c788ef921d38 (patch)
treed8db6cfb721a97b4775da531732668924ae367a0
parent6860c5529bab2e35864e1c5803974bd0ffe43222 (diff)
export spotiy-lrc with edge route
-rw-r--r--src/app/api/spotify-lrc/route.ts1
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');
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage