1
0
Fork 0

Merge pull request #47 from mmccollow/fix-trailing-url-slash

Strip trailing slashes from URLs during connect
This commit is contained in:
mrusme 2023-10-24 14:41:49 +00:00 committed by GitHub
commit 70daa744dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)