Browse Source

updating attachment relative path so it works in all envs

pull/4023/head
Martin McKeaveney 5 years ago
parent
commit
02a99f32cb
  1. 2
      packages/server/src/utilities/index.js

2
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}`
)
}

Loading…
Cancel
Save