Skip to content

Commit e3df13e

Browse files
committed
fix: minato b50
1 parent 309abc8 commit e3df13e

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

apps/web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"build.client": "vite build",
1010
"deploy": "pnpm run build && wrangler pages deploy ./dist",
1111
"dev": "vite --mode ssr",
12+
"tail": "wrangler pages deployment tail --project-name maibot-web",
1213
"serve": "wrangler pages dev ./dist --compatibility-flags=nodejs_als"
1314
},
1415
"dependencies": {

apps/web/src/routes/b50/components/B50.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RatingListEntry, UserMusic, Song, Nameplate as NameplateData, UserCombinedRating, MaiVersion, BUDDIES_PLUS_LOGO, BUDDIES_LOGO, Chart, PRISM_LOGO } from '@clansty/maibot-types';
1+
import { RatingListEntry, UserMusic, Song, Nameplate as NameplateData, UserCombinedRating, MaiVersion, BUDDIES_PLUS_LOGO, BUDDIES_LOGO, Chart, PRISM_LOGO, PRISM_PLUS_LOGO } from '@clansty/maibot-types';
22
import B50Song from './B50Song';
33
import { computeRa, ratingAnalyse } from '@clansty/maibot-utils';
44
import styles from './B50.module.css';
@@ -7,6 +7,7 @@ import { component$ } from '@builder.io/qwik';
77

88
const getLogoByVersion = (ver: MaiVersion) => {
99
switch (ver) {
10+
case 155: return PRISM_PLUS_LOGO;
1011
case 150: return PRISM_LOGO;
1112
case 145: return BUDDIES_PLUS_LOGO;
1213
case 140: return BUDDIES_LOGO;

packages/clients/src/Minato.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import AquaDxLike from './AquaDxLike';
22

33
export default class Minato extends AquaDxLike {
44
public constructor() {
5-
super('http://11.11.41.11');
5+
super('https://minato-web-api.init.ink');
66
}
77
}

packages/clients/src/UserProfile.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { BUDDIES_LOGO, BUDDIES_PLUS_LOGO, GameVariantPlateMusicList, MaiVersion, PLATE_MUSIC_LIST_145, PLATE_MUSIC_LIST_CN, PLATE_MUSIC_LIST_JP, Regions, Env, Song, UserPreviewSummary, UserProfileDto, PRISM_LOGO, PLATE_MUSIC_LIST_150, ChuniSong, PLATE_MUSIC_LIST_155 } from '@clansty/maibot-types';
1+
import { BUDDIES_LOGO, BUDDIES_PLUS_LOGO, GameVariantPlateMusicList, MaiVersion, PLATE_MUSIC_LIST_145, PLATE_MUSIC_LIST_CN, PLATE_MUSIC_LIST_JP, Regions, Env, Song, UserPreviewSummary, UserProfileDto, PRISM_LOGO, PLATE_MUSIC_LIST_150, ChuniSong, PLATE_MUSIC_LIST_155, PRISM_PLUS_LOGO } from '@clansty/maibot-types';
22
import { UserSource } from './UserSource';
33
import AquaDxLegacy from './AquaDxLegacy';
44
import SdgbProxied from './SdgbProxied';
@@ -138,6 +138,8 @@ export class UserProfile {
138138
return BUDDIES_PLUS_LOGO;
139139
case 150:
140140
return PRISM_LOGO;
141+
case 155:
142+
return PRISM_PLUS_LOGO;
141143
}
142144
}
143145

0 commit comments

Comments
 (0)