diff --git a/frontend/src/views/website/website/config/basic/domain/index.vue b/frontend/src/views/website/website/config/basic/domain/index.vue index de1038d6b1ea..46de813a9a4b 100644 --- a/frontend/src/views/website/website/config/basic/domain/index.vue +++ b/frontend/src/views/website/website/config/basic/domain/index.vue @@ -76,7 +76,12 @@ const openUrl = (domain: Website.Domain) => { url = url + ':' + domain.port; } if (protocol == 'https') { - url = url + ':' + httpsPort.value; + if (httpsPort.value != 443) { + url = url + ':' + httpsPort.value; + } + if (domain.port != 80) { + url = 'http://' + domain.domain + ':' + domain.port; + } } window.open(url); };