From 1ef9e584ff17cc5749cedbe4fc29c31d5123c1ab Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Fri, 7 Jun 2024 17:38:18 +0900 Subject: [PATCH] fix --- packages/frontend/src/pages/embed/note.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/frontend/src/pages/embed/note.vue b/packages/frontend/src/pages/embed/note.vue index 026e5e9bf6..77cbbd49ac 100644 --- a/packages/frontend/src/pages/embed/note.vue +++ b/packages/frontend/src/pages/embed/note.vue @@ -17,7 +17,6 @@ import * as Misskey from 'misskey-js'; import MkNoteDetailed from '@/components/MkNoteDetailed.vue'; import XNotFound from '@/pages/not-found.vue'; import { misskeyApi } from '@/scripts/misskey-api.js'; -import { url } from '@/config.js'; import { useRouter } from '@/router/supplier.js'; const props = defineProps<{ @@ -37,7 +36,7 @@ redirectIfNotEmbedPage(); onActivated(redirectIfNotEmbedPage); -provide('EMBED_ORIGINAL_ENTITY_URL', `${url}/notes/${props.noteId}`); +provide('EMBED_ORIGINAL_ENTITY_URL', `/notes/${props.noteId}`); const note = ref(null); const loading = ref(true);