mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Clean trailing slash on server url
This commit is contained in:
@@ -68,7 +68,7 @@ export const AddServerForm = ({ onCancel }: AddServerFormProps) => {
|
|||||||
name: values.name,
|
name: values.name,
|
||||||
ndCredential: data.ndCredential,
|
ndCredential: data.ndCredential,
|
||||||
type: values.type,
|
type: values.type,
|
||||||
url: values.url,
|
url: values.url.replace(/\/$/, ''),
|
||||||
userId: data.userId,
|
userId: data.userId,
|
||||||
username: data.username,
|
username: data.username,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user