Skip to content

Commit

Permalink
fix: error
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Sep 22, 2024
1 parent a5f1f40 commit 90b5b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/server/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export async function GET(_: Request) {
return NextResponse.json(response, { status: 200 });
} catch (error) {
console.error(error);
return NextResponse.json({ error: error }, { status: 400 });
return NextResponse.json({ error: "fetch nezha data failed" }, { status: 400 });
}
}

0 comments on commit 90b5b33

Please sign in to comment.