added replicas for docker swarm

This commit is contained in:
PxlLoewe
2025-05-27 21:40:18 -07:00
parent 2209372303
commit 23dd9c2958
4 changed files with 13 additions and 14 deletions

View File

@@ -6,7 +6,6 @@ export async function GET(req: NextRequest): Promise<NextResponse> {
const id = searchParams.get("id");
const filter = searchParams.get("filter");
console.log(filter);
const filterParsed = JSON.parse(filter || "{}");
try {
@@ -20,9 +19,6 @@ export async function GET(req: NextRequest): Promise<NextResponse> {
return NextResponse.json(data, { status: 200 });
} catch (error) {
console.error(error);
return NextResponse.json(
{ error: "Failed to fetch mission" },
{ status: 500 },
);
return NextResponse.json({ error: "Failed to fetch mission" }, { status: 500 });
}
}