1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00

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

View file

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