fix urls + use the new buildURL func

This commit is contained in:
Hamidreza Ghavami
2023-05-31 01:47:07 +04:30
parent 1c9fc9422e
commit b203067dfd
6 changed files with 23 additions and 33 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 = [];