smol fix
This commit is contained in:
parent
26cddc7ae7
commit
591164c586
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ func serveMedia(update tgbotapi.Update, bot *tgbotapi.BotAPI, randomNoise string
|
|||
|
||||
imageTypes := []string{".jpg", ".jpeg", ".png"}
|
||||
|
||||
shortURL := shortURL(url.PathEscape(config.BotConfig.Download.Prefix + "/" + randomNoise + "/" + (file)))
|
||||
shortURL := shortURL(url.PathEscape(config.BotConfig.Download.Prefix + "/" + randomNoise + "/" + url.PathEscape(file)))
|
||||
|
||||
fsPathStat, _ := os.Stat(fsPath)
|
||||
|
||||
|
|
Loading…
Reference in a new issue