Browse Source

updating attachment relative path so it works in all envs

pull/2287/head
Martin McKeaveney 5 years ago
parent
commit
0c608299af
  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