Construct the URL using normalizeUrl
Co-authored-by: Nikita Karamov <nick@karamoff.dev>
This commit is contained in:
parent
e27cb3f123
commit
70d484d8a1
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ choose_instance.addEventListener('focus', function (e) {
|
|||
})
|
||||
|
||||
choose_instance.addEventListener('change', function (e) {
|
||||
instance.value = `https://${choose_instance.value}`;
|
||||
instance.value = normalizeUrl(choose_instance.value);
|
||||
});
|
||||
|
||||
document
|
||||
|
|
Reference in a new issue