Skip to content

Commit

Permalink
Merge pull request #1143 from near-daos/fix/do-assets
Browse files Browse the repository at this point in the history
fix(dao assets): fix dao assets urls parsing
karpovdmitryod authored Jun 7, 2022

Verified

This commit was signed with the committer’s verified signature.
abelsromero Abel Salgado Romero
2 parents 1278969 + a3a60f3 commit 756cf62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/sputnik/mappers/utils/getAwsImageUrl.ts
Original file line number Diff line number Diff line change
@@ -5,6 +5,10 @@ export function getAwsImageUrl(flag?: string): string {
let bucket;
let region;

if (flag?.startsWith('http')) {
return flag;
}

if (process.browser) {
const { appConfig } = configService.get();

0 comments on commit 756cf62

Please sign in to comment.