mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-22 00:43:50 +01:00
fix
This commit is contained in:
parent
7dfcc6a8ff
commit
2849e1000a
2
app.vue
2
app.vue
@ -80,7 +80,7 @@ const head = useLocaleHead({
|
||||
const i18nLinks = computed(() => head.value.link?.map((e) => {
|
||||
if (e.rel === 'alternate') {
|
||||
let href = e.href;
|
||||
if (typeof e.hreflang === 'string' && (e.hreflang.includes('ja') || e.hreflang === 'x-default')) {
|
||||
if (typeof e.hreflang === 'string' && (e.hreflang.includes('ja') || e.hreflang === 'x-default') && e.hreflang !== 'ja-KS') {
|
||||
const url = parseURL(href);
|
||||
url.pathname = joinURL('/ja/', url.pathname);
|
||||
href = cleanDoubleSlashes(withTrailingSlash(stringifyParsedURL(url)));
|
||||
|
Loading…
Reference in New Issue
Block a user