Add crud for browser targets

This commit is contained in:
Owen
2026-05-15 14:07:48 -07:00
parent 00e1675f7b
commit 75b5afd544
20 changed files with 934 additions and 27 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ import { toast } from "@app/hooks/useToast";
type Target = {
ip: string;
port: number;
authToken: string;
};
type FormState = {
@@ -91,7 +92,7 @@ export default function VncClient({
const params = new URLSearchParams({
host: target.ip,
port: String(target.port),
authToken: "test-token"
authToken: target.authToken
});
const wsUrl = `${base}?${params.toString()}`;