Skip to content

Commit

Permalink
Merge branch 'v1_0_0' of github.com:openziti/zrok into v1_0_0
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelquigley committed Mar 5, 2025
2 parents 8193ebb + 63356a1 commit 837c085
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Like other offerings in this space, `zrok` allows users to share tunnels for HTT

You can be up and sharing using the `zrok.io` service in minutes. Here is a synopsis of what's involved:

* Download the binary for your platform [here](https://github.com/openziti/zrok/releases/latest)
* [Install the package or download the binary for your platform](https://docs.zrok.io/docs/guides/install/).
* `zrok invite` to create an account with the service
* `zrok enable` to enable your shell environment for sharing with the service

Expand Down
4 changes: 2 additions & 2 deletions controller/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

func versionHandler(_ metadata.VersionParams) middleware.Responder {
outOfDate := "your local zrok installation is out of date and needs to be upgraded! " +
"please visit 'https://github.com/openziti/zrok/releases' for the latest build!"
"please visit 'https://docs.zrok.io/docs/guides/install/' for the latest release!"
return metadata.NewVersionOK().WithPayload(rest_model_zrok.Version(outOfDate))
}

Expand All @@ -22,7 +22,7 @@ func clientVersionCheckHandler(params metadata.ClientVersionCheckParams) middlew
// "refs/heads/" or "refs/tags/"
re := regexp.MustCompile(`^(refs/(heads|tags)/)?` + build.Series)
if !re.MatchString(params.Body.ClientVersion) {
return metadata.NewClientVersionCheckBadRequest().WithPayload(fmt.Sprintf("expecting a zrok client version matching '%v' version, received: '%v'; please visit 'https://github.com/openziti/zrok/releases' to make sure you're running the correct client version!", build.Series, params.Body.ClientVersion))
return metadata.NewClientVersionCheckBadRequest().WithPayload(fmt.Sprintf("expecting a zrok client version matching '%v' version, received: '%v'; please visit 'https://docs.zrok.io/docs/guides/install/' for the latest release!", build.Series, params.Body.ClientVersion))
}
return metadata.NewClientVersionCheckOK()
}
Expand Down

0 comments on commit 837c085

Please # to comment.