From 3c7c3e5a832d6748d9081b8e62e50750eb6ed6c4 Mon Sep 17 00:00:00 2001 From: Aidan Date: Thu, 24 Apr 2025 02:31:47 -0400 Subject: [PATCH] cf: fix api issue w/ pages builds --- app/api/now-playing/route.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/api/now-playing/route.ts b/app/api/now-playing/route.ts index 3ef59cf..5670115 100644 --- a/app/api/now-playing/route.ts +++ b/app/api/now-playing/route.ts @@ -1,5 +1,7 @@ import { NextResponse } from 'next/server' +export const runtime = 'edge'; + export async function GET() { try { const response = await fetch("https://api.listenbrainz.org/1/user/p0ntus/playing-now", {