fix urls + use the new buildURL func

This commit is contained in:
Hamidreza Ghavami committed 2023-05-31 01:59:41 +04:30
1 parent 1c9fc9422e
commit b203067dfd
6 files changed
+23 -33

No files matched your search

+1 -1
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 = [];