This repository was archived by the owner on Feb 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
packages/backend/src/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,8 +170,10 @@ export class DriveService {
170170 }
171171
172172 const baseUrl = this . meta . objectStorageBaseUrl
173- ? `${ this . meta . objectStorageUseSSL ? 'https' : 'http' } ://${ this . meta . objectStorageEndpoint } ${ this . meta . objectStoragePort ? `:${ this . meta . objectStoragePort } ` : '' } /${ this . meta . objectStorageBucket } ` : this . config . objectStorage ?. objectStorageBaseUrl
174- ? `${ this . config . objectStorage . objectStorageUseSSL ? 'https' : 'http' } ://${ this . config . objectStorage . objectStorageEndpoint } ${ this . config . objectStorage . objectStoragePort ? `:${ this . config . objectStorage . objectStoragePort } ` : '' } /${ this . config . objectStorage . objectStorageBucket } ` : '' ;
173+ ? `${ this . meta . objectStorageUseSSL ? 'https' : 'http' } ://${ this . meta . objectStorageEndpoint } ${ this . meta . objectStoragePort ? `:${ this . meta . objectStoragePort } ` : '' } /${ this . meta . objectStorageBucket } ` :
174+ this . config . objectStorage ?. objectStorageBaseUrl
175+ ? `${ this . config . objectStorage . objectStorageUseSSL ? 'https' : 'http' } ://${ this . config . objectStorage . objectStorageEndpoint } ${ this . config . objectStorage . objectStoragePort ? `:${ this . config . objectStorage . objectStoragePort } ` : '' } /${ this . config . objectStorage . objectStorageBucket } ` :
176+ this . config . objectStorage ?. objectStorageBaseUrl ;
175177
176178 // for original
177179 const key = `${ this . meta . objectStoragePrefix ? this . meta . objectStoragePrefix : this . config . objectStorage ?. objectStoragePrefix } /${ randomUUID ( ) } ${ ext } ` ;
You can’t perform that action at this time.
0 commit comments