We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5060d59 commit a3a4801Copy full SHA for a3a4801
1 file changed
bootstrap/services/filesystem/local.go
@@ -40,6 +40,6 @@ func (l *Local) FormFile(c *gin.Context, up, to string) (string, error) {
40
if err := c.SaveUploadedFile(file, dst); err != nil {
41
return "", err
42
}
43
- dst = strings.Trim(dst, "/")
+
44
return l.url + to, nil
45
0 commit comments