Feat : Tailscale

This commit is contained in:
decolua
2026-04-11 11:36:33 +07:00
parent 838d9a7a04
commit ed17a8ffac
18 changed files with 1433 additions and 388 deletions
@@ -0,0 +1,12 @@
import { NextResponse } from "next/server";
import { disableTailscale } from "@/lib/tunnel/tunnelManager";
export async function POST() {
try {
const result = await disableTailscale();
return NextResponse.json(result);
} catch (error) {
console.error("Tailscale disable error:", error);
return NextResponse.json({ error: error.message }, { status: 500 });
}
}