mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-20 02:35:10 +02:00
Support localhost
This commit is contained in:
parent
f7fe965fdf
commit
d064d3c7b5
3 changed files with 4 additions and 7 deletions
|
@ -23,7 +23,7 @@ const createTargetParamsSchema = z
|
|||
|
||||
const createTargetSchema = z
|
||||
.object({
|
||||
ip: z.string().ip(),
|
||||
ip: z.string().ip().or(z.literal('localhost')),
|
||||
method: z.string().min(1).max(10),
|
||||
port: z.number().int().min(1).max(65535),
|
||||
protocol: z.string().optional(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue