|
|
@@ -45,7 +45,8 @@ export class Container { |
|
|
|
collectionInfo: CollectionInfo, |
|
|
|
) { |
|
|
|
const host = this.req.headers['x-forwarded-host'] || this.req.headers.host; |
|
|
|
this.url = `${this.req.protocol}://${host}${this.req.baseUrl}/${this.containerPath}`; |
|
|
|
const protocol = this.req.headers['x-forwarded-proto'] || this.req.protocol; |
|
|
|
this.url = `${protocol}://${host}${this.req.baseUrl}/${this.containerPath}`; |
|
|
|
this.name = collectionInfo.name; |
|
|
|
this.label = collectionInfo.label; |
|
|
|
} |
|
|
|