mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-13 06:50:29 +08:00
TUN-7065: Remove classic tunnel creation
This commit is contained in:
@@ -71,9 +71,8 @@ type Ingress struct {
|
||||
}
|
||||
|
||||
// NewSingleOrigin constructs an Ingress set with only one rule, constructed from
|
||||
// legacy CLI parameters like --url or --no-chunked-encoding.
|
||||
// CLI parameters for quick tunnels like --url or --no-chunked-encoding.
|
||||
func NewSingleOrigin(c *cli.Context, allowURLFromArgs bool) (Ingress, error) {
|
||||
|
||||
service, err := parseSingleOriginService(c, allowURLFromArgs)
|
||||
if err != nil {
|
||||
return Ingress{}, err
|
||||
|
||||
Reference in New Issue
Block a user