Surface hidden infix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-25 20:24:42 -08:00
parent fde19a2378
commit 485860ef52
2 changed files with 2 additions and 2 deletions

View File

@@ -404,7 +404,7 @@ func (h *TimesHandler) GetDownloadUrl(ctx *gin.Context) {
// fetch download url from storage service
// Build the full URL.
fullURL, err := url.JoinPath(h.storageUrl, "/v1/file/", botData.FileID)
fullURL, err := url.JoinPath(h.storageUrl, botData.FileID)
if err != nil {
statusCode := http.StatusInternalServerError
errorMessage := "Error joining Url"

View File

@@ -35,7 +35,7 @@ func NewApiCommand() *cli.Command {
Name: "storage-host",
Usage: "Host of storage",
EnvVars: []string{"STORAGE_HOST"},
Value: "http://storage-service:9000",
Value: "http://storage-service:9000/v1/file/",
},
},
}