Update scripts

This commit is contained in:
freearhey
2025-07-20 01:05:26 +03:00
parent 60bbf10910
commit 7129030382
3 changed files with 10 additions and 7 deletions

5
scripts/utils.ts Normal file
View File

@@ -0,0 +1,5 @@
import validUrl from 'valid-url'
export function isURI(string: string) {
return validUrl.isUri(encodeURI(string))
}