We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9c5de9 commit 946a7a2Copy full SHA for 946a7a2
1 file changed
infra/conf/router.go
@@ -52,11 +52,11 @@ func (c *RouterConfig) getDomainStrategy() router.Config_DomainStrategy {
52
}
53
54
switch strings.ToLower(ds) {
55
- case "alwaysip":
+ case "alwaysip", "always_ip", "always-ip":
56
return router.Config_UseIp
57
- case "ipifnonmatch":
+ case "ipifnonmatch", "ip_if_non_match", "ip-if-non-match":
58
return router.Config_IpIfNonMatch
59
- case "ipondemand":
+ case "ipondemand", "ip_on_demand", "ip-on-demand":
60
return router.Config_IpOnDemand
61
default:
62
return router.Config_AsIs
0 commit comments