mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-22 00:43:50 +01:00
fix
This commit is contained in:
parent
d5b6ce157c
commit
2ce5efe09e
@ -33,7 +33,7 @@ function doPost(e) {
|
|||||||
function postToMisskey(d) {
|
function postToMisskey(d) {
|
||||||
var data = {
|
var data = {
|
||||||
i: MI_API_TOKEN,
|
i: MI_API_TOKEN,
|
||||||
text: `$[tada 📢] **Misskey Hub <small>(Next)</small> が更新されました!**
|
text: `$[tada 📢] **Misskey Hub が更新されました!**
|
||||||
早速チェックしましょう ▶ ${d?.repository?.homepage ?? 'https://misskey-hub.net/'}`,
|
早速チェックしましょう ▶ ${d?.repository?.homepage ?? 'https://misskey-hub.net/'}`,
|
||||||
visibility: 'public',
|
visibility: 'public',
|
||||||
cw: null,
|
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 type { LocaleObject } from '@nuxtjs/i18n/dist/runtime/composables';
|
||||||
import NProgress from 'nprogress';
|
import NProgress from 'nprogress';
|
||||||
import type { Graph, Thing } from 'schema-dts';
|
import type { Graph, Thing } from 'schema-dts';
|
||||||
import { normalizeURL, withTrailingSlash } from 'ufo';
|
import { cleanDoubleSlashes, withTrailingSlash } from 'ufo';
|
||||||
|
|
||||||
const nuxtApp = useNuxtApp();
|
const nuxtApp = useNuxtApp();
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ useHead((): Record<string, any> => ({
|
|||||||
...(head.value.meta?.map((e) => ({ property: e.property, content: e.content, })) || []),
|
...(head.value.meta?.map((e) => ({ property: e.property, content: e.content, })) || []),
|
||||||
],
|
],
|
||||||
link: [
|
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,
|
...cnHead,
|
||||||
],
|
],
|
||||||
script: [
|
script: [
|
||||||
|
Loading…
Reference in New Issue
Block a user