diff --git a/src/components/nodes/components/NodeUrl.vue b/src/components/nodes/components/NodeUrl.vue index c06c4440f..226f29993 100644 --- a/src/components/nodes/components/NodeUrl.vue +++ b/src/components/nodes/components/NodeUrl.vue @@ -5,7 +5,7 @@ :{{ port }} @@ -43,7 +43,7 @@ export default { let domain = null if (!isIP.value) { - const regex = /([^.]*)\.(.*)/ + const regex = /([^.]*)\.?(.*)/ const parts = hostname.value.match(regex) if (parts !== null) { name = parts[1]