+2
src/pages/now-playing-sse.ts
+2
src/pages/now-playing-sse.ts
···
1
1
import { sdk } from "/components/home/playing/spotify";
2
2
import type { nowPlaying } from "/components/home/playing/spotify/client";
3
3
4
+
export const prerender = false;
5
+
4
6
export async function GET() {
5
7
const update = async (): Promise<string> => {
6
8
// extract a subset to reduce size for client