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 7e26eb1cac
commit 02a99f32cb
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}`
)
}