openlist根路径主动移除bom
This commit is contained in:
@@ -279,7 +279,7 @@ async function handleDetail(
|
||||
if (listResponse.code !== 200) {
|
||||
return NextResponse.json({
|
||||
code: 0,
|
||||
msg: 'OpenList 列表获取失败',
|
||||
msg: 'OpenList 列表获取失败2',
|
||||
page: 1,
|
||||
pagecount: 0,
|
||||
limit: 0,
|
||||
|
||||
@@ -90,7 +90,7 @@ export async function GET(request: NextRequest) {
|
||||
|
||||
if (listResponse.code !== 200) {
|
||||
return NextResponse.json(
|
||||
{ error: 'OpenList 列表获取失败' },
|
||||
{ error: 'OpenList 列表获取失败3' },
|
||||
{ status: 500 }
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user