add copy code snippets to raw tcp/udp

This commit is contained in:
Milo Schwartz
2025-01-30 22:31:29 -05:00
parent f40d91ff9e
commit 844b12d363
3 changed files with 320 additions and 232 deletions

View File

@@ -130,7 +130,7 @@ export default function ReverseProxyTargets(props: {
const addTargetForm = useForm({
resolver: zodResolver(addTargetSchema),
defaultValues: {
ip: "localhost",
ip: "",
method: resource.http ? "http" : null,
port: resource.http ? 80 : resource.proxyPort || 1234
// protocol: "TCP",