From f38338e1411a3ebf9305e0284035ac2b62e2c6fe Mon Sep 17 00:00:00 2001 From: minwoox Date: Wed, 28 Aug 2024 12:28:54 +0900 Subject: [PATCH] Address the comment from @ikhoon --- .../src/dogma/features/project/settings/mirrors/MirrorForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/dogma/features/project/settings/mirrors/MirrorForm.tsx b/webapp/src/dogma/features/project/settings/mirrors/MirrorForm.tsx index a3585b452e..de4e2b5881 100644 --- a/webapp/src/dogma/features/project/settings/mirrors/MirrorForm.tsx +++ b/webapp/src/dogma/features/project/settings/mirrors/MirrorForm.tsx @@ -300,7 +300,7 @@ const MirrorForm = ({ projectName, defaultValue, onSubmit, isWaitingResponse }: type="text" defaultValue={defaultValue.remoteUrl} placeholder="my.git.com/org/myrepo.git" - {...register('remoteUrl', { required: true, pattern: /^[\w.-]+(:[0-9]+)?\/[\w.\-\/]+.git$/ })} + {...register('remoteUrl', { required: true, pattern: /^[\w.\-]+(:[0-9]+)?\/[\w.\-\/]+.git$/ })} />