1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-12 21:59:02 +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}`); router.replace(`/clips/${props.clipId}`);
} }
} }
redirectIfNotEmbedPage(); redirectIfNotEmbedPage();
onActivated(redirectIfNotEmbedPage); onActivated(redirectIfNotEmbedPage);
// : true // : true

View File

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

View File

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