mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-24 17:59:07 +01:00
fix
This commit is contained in:
parent
d5b6ce157c
commit
2ce5efe09e
@ -33,7 +33,7 @@ function doPost(e) {
|
||||
function postToMisskey(d) {
|
||||
var data = {
|
||||
i: MI_API_TOKEN,
|
||||
text: `$[tada 📢] **Misskey Hub <small>(Next)</small> が更新されました!**
|
||||
text: `$[tada 📢] **Misskey Hub が更新されました!**
|
||||
早速チェックしましょう ▶ ${d?.repository?.homepage ?? 'https://misskey-hub.net/'}`,
|
||||
visibility: 'public',
|
||||
cw: null,
|
||||
|
4
app.vue
4
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<string, any> => ({
|
||||
...(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: [
|
||||
|
Loading…
Reference in New Issue
Block a user