1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-12 05:39:00 +09:00
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