ea28d9f5 months ago21 lines · 719 B| 1 | import type { NextRequest } from "next/server"; |
| 2 | import { authenticateSftp } |
| 3 | import { authenticateWings } |
| 4 | |
| 5 | export async function POST |
| 6 | const auth = |
| 7 | if (!auth.ok |
| 8 | |
| 9 | const body = |
| 10 | const username = |
| 11 | const password = |
| 12 | |
| 13 | if (!username || |
| 14 | return new Response |
| 15 | } |
| 16 | |
| 17 | const result = |
| 18 | if (!result) |
| 19 | |
| 20 | return Response.json |
| 21 | } |