mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-18 11:47:28 +08:00
fix: enable upstash change category
This commit is contained in:
@@ -26,14 +26,6 @@ export async function POST(request: NextRequest) {
|
|||||||
{ status: 400 }
|
{ status: 400 }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (storageType === 'upstash') {
|
|
||||||
return NextResponse.json(
|
|
||||||
{
|
|
||||||
error: 'Upstash 实例请通过配置文件调整',
|
|
||||||
},
|
|
||||||
{ status: 400 }
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const body = (await request.json()) as BaseBody & Record<string, any>;
|
const body = (await request.json()) as BaseBody & Record<string, any>;
|
||||||
|
|||||||
Reference in New Issue
Block a user