mirror of
https://github.com/ihatenodejs/aidxnCC.git
synced 2025-04-24 21:55:57 +00:00
cf: fix api issue w/ pages builds
This commit is contained in:
parent
8ca18ee2ae
commit
3c7c3e5a83
@ -1,5 +1,7 @@
|
|||||||
import { NextResponse } from 'next/server'
|
import { NextResponse } from 'next/server'
|
||||||
|
|
||||||
|
export const runtime = 'edge';
|
||||||
|
|
||||||
export async function GET() {
|
export async function GET() {
|
||||||
try {
|
try {
|
||||||
const response = await fetch("https://api.listenbrainz.org/1/user/p0ntus/playing-now", {
|
const response = await fetch("https://api.listenbrainz.org/1/user/p0ntus/playing-now", {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user