fix urls + use the new buildURL func

This commit is contained in:
Hamidreza Ghavami
2023-05-31 03:39:41 +04:30
parent 8bf6604ed6
commit 8f4fb47e27
6 changed files with 23 additions and 35 deletions

View File

@@ -96,7 +96,7 @@
set multiDomain(value) {
if (value) {
inModal.inbound.stream.tls.server = "";
inModal.inbound.stream.tls.settings.domains = [{remark: "", domain: window.location.host.split(":")[0]}];
inModal.inbound.stream.tls.settings.domains = [{ remark: "", domain: window.location.hostname }];
} else {
inModal.inbound.stream.tls.server = "";
inModal.inbound.stream.tls.settings.domains = [];