diff --git a/api/sspanel/sspanel.go b/api/sspanel/sspanel.go index 51e0915..4c7d01e 100644 --- a/api/sspanel/sspanel.go +++ b/api/sspanel/sspanel.go @@ -21,7 +21,7 @@ import ( var ( firstPortRe = regexp.MustCompile(`(?m)port=(?P\d+)#?`) // First Port secondPortRe = regexp.MustCompile(`(?m)port=\d+#(\d+)`) // Second Port - hostRe = regexp.MustCompile(`(?m)host=([\w\.]+)\|?`) // Host + hostRe = regexp.MustCompile(`(?m)host=([\w.]+)\|?`) // Host ) // APIClient create a api client to the panel.