updating attachment relative path so it works in all envs

This commit is contained in:
Martin McKeaveney 2021-08-05 16:40:39 +01:00
parent 2fa99c4578
commit 0c608299af
1 changed files with 1 additions and 1 deletions

View File

@ -54,6 +54,6 @@ exports.clientLibraryPath = appId => {
exports.attachmentsRelativeURL = attachmentKey => {
return exports.checkSlashesInUrl(
`/${ObjectStoreBuckets.APPS}/${attachmentKey}`
`${exports.objectStoreUrl()}/${attachmentKey}`
)
}