mirror of
https://github.com/fatedier/frp.git
synced 2024-12-12 17:50:51 +01:00
version to 0.19.1
This commit is contained in:
parent
040d198e36
commit
c8a7405992
@ -19,7 +19,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
var version string = "0.19.0"
|
||||
var version string = "0.19.1"
|
||||
|
||||
func Full() string {
|
||||
return version
|
||||
@ -48,8 +48,8 @@ func Minor(v string) int64 {
|
||||
|
||||
// add every case there if server will not accept client's protocol and return false
|
||||
func Compat(client string) (ok bool, msg string) {
|
||||
if LessThan(client, "0.10.0") {
|
||||
return false, "Please upgrade your frpc version to at least 0.10.0"
|
||||
if LessThan(client, "0.18.0") {
|
||||
return false, "Please upgrade your frpc version to at least 0.18.0"
|
||||
}
|
||||
return true, ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user