Construct the URL using normalizeUrl

Co-authored-by: Nikita Karamov <nick@karamoff.dev>
This commit is contained in:
Andy Balaam 2020-09-24 08:42:23 +01:00 committed by GitHub
parent e27cb3f123
commit 70d484d8a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ choose_instance.addEventListener('focus', function (e) {
}) })
choose_instance.addEventListener('change', function (e) { choose_instance.addEventListener('change', function (e) {
instance.value = `https://${choose_instance.value}`; instance.value = normalizeUrl(choose_instance.value);
}); });
document document