This commit is contained in:
kakkokari-gtyih
2024-06-07 16:48:11 +09:00
parent 6fdb004d48
commit bd0b7f90cf
3 changed files with 6 additions and 0 deletions

View File

@@ -32,7 +32,9 @@ function redirectIfNotEmbedPage() {
router.replace(`/notes/${props.noteId}`);
}
}
redirectIfNotEmbedPage();
onActivated(redirectIfNotEmbedPage);
provide('EMBED_ORIGINAL_ENTITY_URL', `${url}/notes/${props.noteId}`);