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);