UPDATE: next16 and minifyjson
Some checks failed
Gitea Auto Deploy / Deploy-Container (push) Failing after 1m25s
Some checks failed
Gitea Auto Deploy / Deploy-Container (push) Failing after 1m25s
This commit is contained in:
@@ -13,6 +13,7 @@ export async function GET(
|
||||
if (!monster) {
|
||||
return NextResponse.json({ error: 'Monster info not found' }, { status: 404 })
|
||||
}
|
||||
|
||||
return NextResponse.json(monster)
|
||||
return new NextResponse(JSON.stringify(monster), {
|
||||
headers: { "Content-Type": "application/json" }
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user