🐛 Fix: url uploader bug

This commit is contained in:
Molunerfinn
2020-02-23 17:48:12 +08:00
parent a28c67848d
commit 96544f5475
7 changed files with 47 additions and 15 deletions

View File

@@ -0,0 +1 @@
export const isUrl = (url: string): boolean => (url.startsWith('http://') || url.startsWith('https://'))