Skip to content

Commit

Permalink
Merge pull request #547 from sunbird-cb/content-certificate
Browse files Browse the repository at this point in the history
Content certificate bug fix
  • Loading branch information
nitinraj-tarento authored Sep 2, 2022
2 parents 3af87d4 + 0d300f2 commit 4f654d6
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ export class PipeCertificateImageURL implements PipeTransform {
const mainUrl = value && value.split('/content').pop() || ''
const finalURL = `${environment.contentHost}/${environment.certificateassets}/content${mainUrl}`
return value ? finalURL : ''
} else
{
const mainUrl = value && value.split('/content').pop() || ''
// const finalURL = `${environment.contentHost}/${environment.contentBucket}/content${mainUrl}`
const finalURL = `${environment.contentHost}/${environment.certificateassets}/content${mainUrl}`
return value ? finalURL : ''
}
}

Expand All @@ -38,6 +32,5 @@ export class PipeCertificateImageURL implements PipeTransform {
return value ? finalURL : ''
}
}

}
}

0 comments on commit 4f654d6

Please sign in to comment.