diff --git a/hub/internal/web/configs.go b/hub/internal/web/configs.go index 2c6990d..07b9018 100644 --- a/hub/internal/web/configs.go +++ b/hub/internal/web/configs.go @@ -31,6 +31,8 @@ var validCustomerID = regexp.MustCompile(`^[a-zA-Z0-9.\-]+$`) // validSemver matches a bare X.Y.Z controller version (the floor format). Empty is also accepted by // the floor handlers (clears the override). +const hostInstallVersion = "1.19.0" + var validSemver = regexp.MustCompile(`^\d+\.\d+\.\d+$`) // normalizeFloorInput trims, strips a leading "v", and validates a floor version submitted from the