mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
fixed saving site from "fake web site" field when configuring openvpn over cloak via wizard
This commit is contained in:
@@ -54,12 +54,12 @@ You SHOULD set this website address to some foreign website which is not blocked
|
||||
text: WizardLogic.lineEditHighWebsiteMaskingText
|
||||
onEditingFinished: {
|
||||
let _text = website_masking.text
|
||||
_text.replace("http://", "");
|
||||
_text.replace("https://", "");
|
||||
_text = _text.replace("http://", "");
|
||||
_text = _text.replace("https://", "");
|
||||
if (!_text) {
|
||||
return
|
||||
}
|
||||
_text = _text.split("/").first();
|
||||
_text = _text.split("/")[0];
|
||||
WizardLogic.lineEditHighWebsiteMaskingText = _text
|
||||
}
|
||||
onAccepted: {
|
||||
|
||||
Reference in New Issue
Block a user