Skip to content

Commit

Permalink
fix: domain and text
Browse files Browse the repository at this point in the history
  • Loading branch information
wxt2005 committed Nov 11, 2024
1 parent 0e4ff0f commit f777937
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/client/constants/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export const bangumiTemplates = {

export const mikanTemplates = {
[MikanDomain.MIKANANI_ME]: 'https://mikanani.me/Home/Bangumi/{{id}}',
[MikanDomain.MIKANANI_TV]: 'https://mikanani.tv/Home/Bangumi/{{id}}',
[MikanDomain.MIKANIME_TV]: 'https://mikanime.tv/Home/Bangumi/{{id}}',
};
4 changes: 2 additions & 2 deletions packages/client/pages/config/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const bangumiDomainOptions = [
BangumiDomain.CHII_IN,
];

const mikanDomainOptions = [MikanDomain.MIKANANI_ME, MikanDomain.MIKANANI_TV];
const mikanDomainOptions = [MikanDomain.MIKANANI_ME, MikanDomain.MIKANIME_TV];

export default function ConfigPage(): JSX.Element | null {
const [newOnly, setNewOnly] = useState<boolean>(false);
Expand Down Expand Up @@ -137,7 +137,7 @@ export default function ConfigPage(): JSX.Element | null {
</select>
</div>
<div>
<label htmlFor="mikanDomain">Bangumi域名</label>
<label htmlFor="mikanDomain">蜜柑计划域名</label>
<select
id="mikanDomain"
value={mikanDomain}
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/types/Preference.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export enum BangumiDomain {

export enum MikanDomain {
MIKANANI_ME = 'mikanani.me',
MIKANANI_TV = 'mikanani.tv',
MIKANIME_TV = 'mikanime.tv',
}

export interface CommonPreference {
Expand Down

0 comments on commit f777937

Please sign in to comment.