cf: fix api issue w/ pages builds
This commit is contained in:
parent
8ca18ee2ae
commit
3c7c3e5a83
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue