diff --git a/packages/server/src/utilities/index.js b/packages/server/src/utilities/index.js index 3e9f6abc5d..eab4265c19 100644 --- a/packages/server/src/utilities/index.js +++ b/packages/server/src/utilities/index.js @@ -54,6 +54,6 @@ exports.clientLibraryPath = appId => { exports.attachmentsRelativeURL = attachmentKey => { return exports.checkSlashesInUrl( - `/${ObjectStoreBuckets.APPS}/${attachmentKey}` + `${exports.objectStoreUrl()}/${attachmentKey}` ) }