Skip to content

Commit

Permalink
✨ Feat: 프로필 이미지 유효성 검사 패턴 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-paik committed Nov 28, 2023
1 parent 6c28b32 commit 90e661b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/constants/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ export const PATTERN = {
EMAIL: /^[a-zA-Z0-9+-\_.]+@[a-zA-Z0-9-]+\.[a-zAZ0-9-.]+$/,
PASSWORD: /^(?=.*[A-Za-z])(?=.*\d)(?=.*[$@$!%*#?&])[A-Za-z\d$@$!%*#?&]{6,}$/,
USERNAME: /^[a-zA-Z0-9]{2,10}$/,
ACCOUNTNAME: /^[a-zA-Z0-9._]+$/
ACCOUNTNAME: /^[a-zA-Z0-9._]+$/,
PROFILEIMG: /^https:\/\/api\.mandarin\.weniv\.co\.kr\/[/\w.]*$/
};

export const MESSAGE = {
Expand Down

0 comments on commit 90e661b

Please sign in to comment.