first working prototype of shortly

This commit is contained in:
2023-01-12 21:18:49 -03:00
parent a897ec5f95
commit 856e01d339
34 changed files with 745 additions and 100 deletions

5
src/scripts/isUrl.ts Normal file
View File

@@ -0,0 +1,5 @@
import { isUrlRegex } from '../utils/constants'
export default function (url: string) {
return !!isUrlRegex.test(url)
}