fix: removed revalidate
This commit is contained in:
1 parent
dd7339b62c
commit
edf74fc92c
3 files changed
+5
-12
No files matched your search
@@ -30,6 +30,8 @@ export async function GET(request: Request) {
|
||||
|
||||
return NextResponse.json(torrents);
|
||||
} catch (error) {
|
||||
return NextResponse.json([]);
|
||||
return NextResponse.json([{ title: JSON.stringify(error), id: JSON.stringify(error) }]);
|
||||
}
|
||||
}
|
||||
|
||||
export const revalidate = 0;
|
||||
Reference in new issue
Block a user