fixed bug with not applying changes to subnet address when reinstalling server

This commit is contained in:
gemachtt 2025-04-23 17:41:03 +04:00
parent 7169480999
commit f3b3f165a8
2 changed files with 64 additions and 14 deletions

View file

@ -93,9 +93,9 @@ PageType {
var tmpText = textField.text
tmpText = tmpText.toLocaleLowerCase()
var indexHttps = tmpText.indexOf("https://")
if (indexHttps === 0) {
if (tmpText.startsWith("https://")) {
tmpText = textField.text.substring(8)
site = tmpText
} else {
site = textField.text
}