mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-01 21:21:06 +00:00
Fix ts and add note about ipv4
This commit is contained in:
parent
35fed74e49
commit
b01fcc70fe
2 changed files with 3 additions and 3 deletions
|
|
@ -88,7 +88,7 @@ const createSiteResourceSchema = z
|
|||
},
|
||||
{
|
||||
message:
|
||||
"Destination must be a valid IP address or valid domain AND alias is required"
|
||||
"Destination must be a valid IPV4 address or valid domain AND alias is required"
|
||||
}
|
||||
)
|
||||
.refine(
|
||||
|
|
|
|||
|
|
@ -618,8 +618,8 @@ export async function handleMessagingForUpdatedSiteResource(
|
|||
);
|
||||
|
||||
await updateTargets(newt.newtId, {
|
||||
oldTargets: [oldTarget],
|
||||
newTargets: [newTarget]
|
||||
oldTargets: oldTarget ? [oldTarget] : [],
|
||||
newTargets: newTarget ? [newTarget] : []
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue