|
@@ -45,7 +45,8 @@ export class Container { |
|
|
collectionInfo: CollectionInfo, |
|
|
collectionInfo: CollectionInfo, |
|
|
) { |
|
|
) { |
|
|
const host = this.req.headers['x-forwarded-host'] || this.req.headers.host; |
|
|
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.name = collectionInfo.name; |
|
|
this.label = collectionInfo.label; |
|
|
this.label = collectionInfo.label; |
|
|
} |
|
|
} |
|
|