mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +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,
|
||||
ndCredential: data.ndCredential,
|
||||
type: values.type,
|
||||
url: values.url,
|
||||
url: values.url.replace(/\/$/, ''),
|
||||
userId: data.userId,
|
||||
username: data.username,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user