Skip to content

Commit

Permalink
Merge pull request #58 from istresearch/develop
Browse files Browse the repository at this point in the history
Release 4.0.11
  • Loading branch information
jeremyist authored Nov 17, 2021
2 parents 8613d48 + aa16bd2 commit a53475a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.10
4.0.11
8 changes: 6 additions & 2 deletions handlers/postmaster/postmaster.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
)

const (
outgoingEndpoint = "/postoffice/engage/outgoing"
purgeEndpoint = "/postoffice/engage/outgoing/purge"
outgoingEndpoint = "engage/outgoing"
purgeEndpoint = "engage/outgoing/purge"
)

var (
Expand Down Expand Up @@ -272,6 +272,10 @@ func getPostofficeEndpoint() (string, error) {
return "", fmt.Errorf("Please configure a postoffice endpoint")
}

if !strings.HasSuffix(apiUrl, "/") {
apiUrl = apiUrl + "/"
}

return apiUrl, nil
}

Expand Down

0 comments on commit a53475a

Please sign in to comment.