diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-04-14 10:52:01 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-04-14 10:52:01 -0700 |
| commit | 4f99dfff2d01cf4fc36c79652ce4b46d04dc87e1 (patch) | |
| tree | 02d4b3a68c78bcdba9853d425f5efb4897e3e898 | |
| parent | 00deaf24ef1c9e5d75b65638eb8c7c6bc8f09955 (diff) | |
fix: add sound_voltex as another match for sdvx id
| -rw-r--r-- | .github/workflows/deploy.yml | 4 | ||||
| -rw-r--r-- | site/src/utils.ts | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9523a23..043be16 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,7 +37,9 @@ jobs: working-directory: site - name: Build - run: pnpm run build + run: | + pnpm run build + cp site/dist/index.html site/dist/404.html working-directory: site - name: Setup Pages diff --git a/site/src/utils.ts b/site/src/utils.ts index 270b5a2..e3c0808 100644 --- a/site/src/utils.ts +++ b/site/src/utils.ts @@ -3,7 +3,7 @@ export const getGameTitle = (gameId: string) => { const lowerCaseGameId = gameId.toLowerCase(); - if (lowerCaseGameId.startsWith("sdvx")) return "SOUND VOLTEX"; + if (lowerCaseGameId.startsWith("sdvx") || lowerCaseGameId.startsWith("sound_voltex")) return "SOUND VOLTEX"; if (lowerCaseGameId.startsWith("iidx")) return "beatmania IIDX"; if (lowerCaseGameId.startsWith("chunithm_jp")) return "CHUNITHM (JAPAN)"; if (lowerCaseGameId.startsWith("maimaidx_jp")) return "maimai DX (JAPAN)"; |
