Clean trailing slash on server url
This commit is contained in:
parent
2e42e134e4
commit
e7ccee4634
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Reference in a new issue