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

@ -68,7 +68,9 @@ function redirectIfNotEmbedPage() {
router.replace(`/clips/${props.clipId}`);
}
}
redirectIfNotEmbedPage();
onActivated(redirectIfNotEmbedPage);
// : true

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

View File

@ -74,7 +74,9 @@ function redirectIfNotEmbedPage() {
router.replace(`/@${props.username}`);
}
}
redirectIfNotEmbedPage();
onActivated(redirectIfNotEmbedPage);
// : true