Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop

This commit is contained in:
syuilo
2022-08-27 00:40:31 +09:00
3 changed files with 10 additions and 2 deletions

View File

@ -68,7 +68,7 @@ let tweetHeight = $ref(150);
const requestUrl = new URL(props.url);
if (requestUrl.hostname === 'twitter.com') {
if (requestUrl.hostname === 'twitter.com' || requestUrl.hostname === 'mobile.twitter.com') {
const m = requestUrl.pathname.match(/^\/.+\/status(?:es)?\/(\d+)/);
if (m) tweetId = m[1];
}