mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-05 03:54:22 +00:00
fix email and allow localhost in ip field
This commit is contained in:
@@ -65,7 +65,7 @@ import {
|
||||
import { SwitchInput } from "@app/components/SwitchInput";
|
||||
|
||||
const addTargetSchema = z.object({
|
||||
ip: z.string().ip(),
|
||||
ip: z.union([z.string().ip(), z.literal("localhost")]),
|
||||
method: z.string(),
|
||||
port: z.coerce.number().int().positive()
|
||||
// protocol: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user