1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-23 16:44:34 +01:00

Check url and remove buttons

This commit is contained in:
nobody 2020-05-29 18:06:49 +02:00
parent d35dc51cc0
commit 78c08aeec1
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A

View File

@ -105,6 +105,10 @@ helpers.normalizeDomain = function (domain) {
helpers.extractDomainFromUrl = function (url = '', normalize) {
if (!url.startsWith('http')) {
return null;
}
let extractedDomain;
try {