Skip to content

Commit

Permalink
fix: fix adding extra contents into url (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
dalkia authored Apr 9, 2024
1 parent 3ac334a commit ec586a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion consumer-server/src/logic/run-conversion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ export async function runConversion(
if (!contentServerUrl.endsWith('/')) contentServerUrl += '/'

// TODO: Temporal hack, we need to standardize this
if (contentServerUrl !== 'https://sdk-team-cdn.decentraland.org/ipfs/') {
if (contentServerUrl !== 'https://sdk-team-cdn.decentraland.org/ipfs/' &&
!contentServerUrl.endsWith('contents/')) {
contentServerUrl += 'contents/'
}

Expand Down

0 comments on commit ec586a6

Please sign in to comment.