Skip to content

Commit

Permalink
fix: wan interface should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
kunish committed Jul 12, 2023
1 parent 0fa1572 commit 40b5bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ConfigFormModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const schema = z.object({
checkToleranceMS: z.number(),
sniffingTimeoutMS: z.number(),
lanInterface: z.array(z.string().nonempty()),
wanInterface: z.array(z.string().nonempty()).min(1),
wanInterface: z.array(z.string()),
udpCheckDns: z.array(z.string()).min(1),
tcpCheckUrl: z.array(z.string()).min(1),
dialMode: z.string(),
Expand Down

0 comments on commit 40b5bf1

Please sign in to comment.