mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: error
This commit is contained in:
parent
a5f1f40973
commit
90b5b331e8
@ -9,6 +9,6 @@ export async function GET(_: Request) {
|
|||||||
return NextResponse.json(response, { status: 200 });
|
return NextResponse.json(response, { status: 200 });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
return NextResponse.json({ error: error }, { status: 400 });
|
return NextResponse.json({ error: "fetch nezha data failed" }, { status: 400 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user