🐛 add env to useDb and apply prettier
tinyedge/deploy Deployed by TinyEdge

This commit is contained in:
2026-08-07 13:28:26 +02:00
parent 67727f96ab
commit cbe1b42f6e
54 changed files with 5492 additions and 2406 deletions
+5 -6
View File
@@ -1,11 +1,10 @@
export function isValidPaymentLink(value: string): boolean {
if (!value.trim()) return false
if (!value.trim()) return false;
try {
const url = new URL(value)
return url.protocol === 'https:' || url.protocol === 'http:'
}
catch {
return false
const url = new URL(value);
return url.protocol === 'https:' || url.protocol === 'http:';
} catch {
return false;
}
}