diff options
Diffstat (limited to 'internal/db/attachment.go')
-rw-r--r-- | internal/db/attachment.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/attachment.go b/internal/db/attachment.go index 8d84d8a7..44ac4fe2 100644 --- a/internal/db/attachment.go +++ b/internal/db/attachment.go @@ -44,7 +44,7 @@ func (a *Attachment) AfterSet(colName string, _ xorm.Cell) { // AttachmentLocalPath returns where attachment is stored in local file system based on given UUID. func AttachmentLocalPath(uuid string) string { - return path.Join(conf.AttachmentPath, uuid[0:1], uuid[1:2], uuid) + return path.Join(conf.Attachment.Path, uuid[0:1], uuid[1:2], uuid) } // LocalPath returns where attachment is stored in local file system. |