Skip to content

Commit

Permalink
fix prts.wiki image link
Browse files Browse the repository at this point in the history
  • Loading branch information
whitecodes committed May 22, 2024
1 parent 3d16d79 commit 695bb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderer/src/utils/game_image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const baseUrl = 'https://media.prts.wiki'

const getFileUrl = (filename: string): string => {
const hash = String(MD5(filename))
return `${baseUrl}/${hash[0]}/${hash.substring(0, 1)}/${filename}`
return `${baseUrl}/${hash[0]}/${hash.substring(0, 2)}/${filename}`
}

export const getOperatorAvatar = (operatorCode: string): string =>
Expand Down

0 comments on commit 695bb55

Please sign in to comment.