This website requires JavaScript.
Explore
Help
Sign In
discours.io
/
webapp
Watch
5
Star
0
Fork
0
You've already forked webapp
Code
Issues
Pull Requests
Actions
Projects
Wiki
Activity
f77d7b28df
webapp
/
src
/
utils
/
validateUrl.ts
4 lines
103 B
TypeScript
Raw
Normal View
History
Unescape
Escape
fixed lint validation, chores, lint, safe lib updates
2023-05-09 23:15:26 +00:00
export
const
validateUrl
=
(
value
:
string
)
=
>
{
add protocol to link without it (#132) * add protocol to link without it * refactoing * refactoring * refactoring
2023-07-18 11:21:26 +00:00
return
value
.
includes
(
'.'
)
&&
!
value
.
includes
(
' '
)
Validation message
2022-12-07 08:37:40 +00:00
}
Reference in New Issue
Copy Permalink