mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-05 00:50:24 +08:00
TUN-5164: Update README and clean up references to Argo Tunnel (using Cloudflare Tunnel instead)
This commit is contained in:
@@ -148,7 +148,7 @@ func validateScheme(scheme string) error {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
return fmt.Errorf("Currently Argo Tunnel does not support %s protocol.", scheme)
|
||||
return fmt.Errorf("Currently Cloudflare Tunnel does not support %s protocol.", scheme)
|
||||
}
|
||||
|
||||
func validateIP(scheme, host, port string) (string, error) {
|
||||
|
||||
@@ -109,7 +109,7 @@ func TestValidateUrl(t *testing.T) {
|
||||
assert.Empty(t, validUrl)
|
||||
|
||||
validUrl, err = ValidateUrl("ftp://alex:12345@hello.example.com:8080/robot.txt")
|
||||
assert.Equal(t, "Currently Argo Tunnel does not support ftp protocol.", err.Error())
|
||||
assert.Equal(t, "Currently Cloudflare Tunnel does not support ftp protocol.", err.Error())
|
||||
assert.Empty(t, validUrl)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user