Clean trailing slash on server url

This commit is contained in:
jeffvli 2022-12-29 19:06:29 -08:00
parent 2e42e134e4
commit e7ccee4634

View file

@ -68,7 +68,7 @@ export const AddServerForm = ({ onCancel }: AddServerFormProps) => {
name: values.name,
ndCredential: data.ndCredential,
type: values.type,
url: values.url,
url: values.url.replace(/\/$/, ''),
userId: data.userId,
username: data.username,
});