diff --git a/handler/routes.go b/handler/routes.go index ed83c26..abedaf7 100644 --- a/handler/routes.go +++ b/handler/routes.go @@ -162,7 +162,7 @@ func WireGuardServerInterfaces() echo.HandlerFunc { // validate the input addresses if util.ValidateServerAddresses(serverInterface.Addresses) == false { log.Warnf("Invalid server interface addresses input from user: %v", serverInterface.Addresses) - return c.JSON(http.StatusBadRequest, jsonHTTPResponse{false, "Interface IP addresses must be in CIDR format"}) + return c.JSON(http.StatusBadRequest, jsonHTTPResponse{false, "Interface IP address must be in CIDR format"}) } serverInterface.UpdatedAt = time.Now().UTC() diff --git a/templates/server.html b/templates/server.html index 0bb4f39..a321665 100644 --- a/templates/server.html +++ b/templates/server.html @@ -19,7 +19,7 @@ Wireguard Server Settings <div class="col-md-6"> <div class="card card-success"> <div class="card-header"> - <h3 class="card-title">Interfaces</h3> + <h3 class="card-title">Interface</h3> </div> <!-- /.card-header --> <!-- form start -->