mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
version to 0.19.1
This commit is contained in:
parent
040d198e36
commit
c8a7405992
@ -19,7 +19,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
var version string = "0.19.0"
|
var version string = "0.19.1"
|
||||||
|
|
||||||
func Full() string {
|
func Full() string {
|
||||||
return version
|
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
|
// add every case there if server will not accept client's protocol and return false
|
||||||
func Compat(client string) (ok bool, msg string) {
|
func Compat(client string) (ok bool, msg string) {
|
||||||
if LessThan(client, "0.10.0") {
|
if LessThan(client, "0.18.0") {
|
||||||
return false, "Please upgrade your frpc version to at least 0.10.0"
|
return false, "Please upgrade your frpc version to at least 0.18.0"
|
||||||
}
|
}
|
||||||
return true, ""
|
return true, ""
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user