Feature: add file batch rename, and support placeholder now

ISSUES CLOSED: #14
This commit is contained in:
萌萌哒赫萝
2023-03-01 17:39:55 +08:00
parent d0362e226e
commit 327a7ac50d
4 changed files with 385 additions and 78 deletions

View File

@@ -1,7 +1,6 @@
export const isUrl = (url: string): boolean => {
try {
new URL(url)
return true
return Boolean(new URL(url))
} catch {
return false
}