mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-26 02:30:18 +08:00
✨ Feature: s3-compatible storage is supported now
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export const isUrl = (url: string): boolean => (url.startsWith('http://') || url.startsWith('https://'))
|
||||
export const isUrl = (url: string): boolean => (/^https?:\/\//.test(url))
|
||||
export const isUrlEncode = (url: string): boolean => {
|
||||
url = url || ''
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user