itube-specs 0.0.373 → 0.0.374

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,7 +60,11 @@ export const useSeoLinks = (baseDomain: string, alonePage: boolean = false, i18n
60
60
  links.push(
61
61
  ...otherLocales.map((locale) => {
62
62
  const localeCode = typeof locale === 'string' ? locale : locale.code;
63
- const hreflang = localeCode === 'jp' ? 'ja' : localeCode;
63
+ const langMap: Record<string, string> = {
64
+ jp: 'ja',
65
+ ch: 'zh'
66
+ };
67
+ const hreflang = langMap[localeCode] || localeCode;
64
68
  return {
65
69
  rel: 'alternate',
66
70
  hreflang,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.373",
4
+ "version": "0.0.374",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {