Skip to content

Commit

Permalink
Merge pull request #219 from whitecodes/dev
Browse files Browse the repository at this point in the history
fix ci build
  • Loading branch information
ChingCdesu authored May 24, 2024
2 parents 05950bf + 695bb55 commit e2cd7e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- uses: pnpm/action-setup@v3
with:
version: latest
version: 8

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
Expand Down
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 e2cd7e7

Please sign in to comment.