diff --git a/config.go b/config.go index 59f02e8..b3d7618 100644 --- a/config.go +++ b/config.go @@ -43,7 +43,7 @@ func config(redirects []Redirect) error { fmt.Println("config match-condition") fmt.Println("edit 0") fmt.Println("set object http-url") - fmt.Printf("set reg-exp %s\n", sourceURL.Path) + fmt.Printf("set reg-exp %s$\n", sourceURL.Path) fmt.Println("set protocol-filter enable") fmt.Printf("set HTTP-protocol %s\n", sourceURL.Scheme) fmt.Println("next")