import type { NextRequest } from "next/server"
import { proxyBackendRequest } from "@/lib/proxy-backend-request"

export const runtime = "nodejs"
export const dynamic = "force-dynamic"
export const maxDuration = 600

export async function POST(request: NextRequest) {
  return proxyBackendRequest(request, "/api/system/database/restore", { method: "POST" })
}
