From 2ce5efe09e144a2806b43e356e617433a0226a01 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih Date: Fri, 22 Dec 2023 20:19:28 +0900 Subject: [PATCH] fix --- __misc/gas/code.gs | 2 +- app.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/__misc/gas/code.gs b/__misc/gas/code.gs index 3b65c134..aa90e131 100644 --- a/__misc/gas/code.gs +++ b/__misc/gas/code.gs @@ -33,7 +33,7 @@ function doPost(e) { function postToMisskey(d) { var data = { i: MI_API_TOKEN, - text: `$[tada πŸ“’] **Misskey Hub (Next) γŒζ›΄ζ–°γ•γ‚ŒγΎγ—γŸοΌ** + text: `$[tada πŸ“’] **Misskey Hub γŒζ›΄ζ–°γ•γ‚ŒγΎγ—γŸοΌ** ζ—©ι€Ÿγƒγ‚§γƒƒγ‚―γ—γΎγ—γ‚‡γ† β–Ά ${d?.repository?.homepage ?? 'https://misskey-hub.net/'}`, visibility: 'public', cw: null, diff --git a/app.vue b/app.vue index a5321742..38d666e6 100644 --- a/app.vue +++ b/app.vue @@ -3,7 +3,7 @@ import TopIco from 'bi/chevron-up.svg'; import type { LocaleObject } from '@nuxtjs/i18n/dist/runtime/composables'; import NProgress from 'nprogress'; import type { Graph, Thing } from 'schema-dts'; -import { normalizeURL, withTrailingSlash } from 'ufo'; +import { cleanDoubleSlashes, withTrailingSlash } from 'ufo'; const nuxtApp = useNuxtApp(); @@ -127,7 +127,7 @@ useHead((): Record => ({ ...(head.value.meta?.map((e) => ({ property: e.property, content: e.content, })) || []), ], link: [ - ...(head.value.link?.map((e) => ({ rel: e.rel, href: normalizeURL(withTrailingSlash(e.href)), hreflang: e.hreflang, })) || []), + ...(head.value.link?.map((e) => ({ rel: e.rel, href: cleanDoubleSlashes(withTrailingSlash(e.href)), hreflang: e.hreflang, })) || []), ...cnHead, ], script: [