diff --git a/watchdog-go/config.ini b/watchdog-go/config.ini index 042691a..145a1b4 100644 --- a/watchdog-go/config.ini +++ b/watchdog-go/config.ini @@ -1,2 +1,2 @@ [Parent] -url = localhost:8080 \ No newline at end of file +url = localhost:50051 \ No newline at end of file diff --git a/watchdog-go/main.go b/watchdog-go/main.go index 98e4160..b9b852c 100644 --- a/watchdog-go/main.go +++ b/watchdog-go/main.go @@ -21,7 +21,7 @@ type Config struct { ClientDomain string } -var regex = regexp.MustCompile(`^[a-zA-Z0-9-_]`) +var regex = regexp.MustCompile(`[^a-zA-Z0-9-_]`) func main() { fmt.Println("start gRPC Client.")