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: [