1
0
Fork 0

Strip trailing slashes from URLs during connect

This commit is contained in:
Matt McCollow 2023-10-16 21:36:24 -04:00
parent c80492fb27
commit 7504234894
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ func connectBase() *cobra.Command {
LOG.Panicln(err)
}
sysURL := strings.TrimRight(sysURL, "/")
sysURLparsed, err := url.Parse(sysURL)
if err != nil {
fmt.Print(err)