Skip to content

Commit

Permalink
update regex
Browse files Browse the repository at this point in the history
  • Loading branch information
kyujin-cho committed Oct 28, 2023
1 parent 5e55962 commit 23110a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/src/components/ServiceLauncherModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ const ServiceLauncherModal: React.FC<ServiceLauncherProps> = ({
name="serviceName"
rules={[
{
pattern: /^(?=.{4,64}$)\w[\w.-]*\w$/,
pattern: /^(?=.{4,24}$)\w[\w.-]*\w$/,
message: t('modelService.ServiceNameRule'),
},
{
Expand Down

0 comments on commit 23110a8

Please sign in to comment.