Skip to content

Commit

Permalink
x.comでも展開できるように
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Aug 14, 2023
1 parent b64f747 commit d8160e6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"stringz": "2.1.0",
"stylus": "0.59.0",
"stylus-loader": "7.1.3",
"summaly": "mei23/summaly#3.6.0",
"summaly": "mei23/summaly#3.8.2",
"suncalc": "1.9.0",
"systeminformation": "5.17.12",
"syuilo-password-strength": "0.0.1",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/client/app/common/views/components/url-preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default Vue.extend({
if (m) this.steamId = m[1];
}
if (requestUrl.hostname === 'twitter.com' || requestUrl.hostname === 'mobile.twitter.com') {
if (requestUrl.hostname === 'twitter.com' || requestUrl.hostname === 'mobile.twitter.com' || requestUrl.hostname === 'x.com') {
const mTweet = requestUrl.pathname.match(/^\/(\w+)\/status(?:es)?\/(\d+)/);
if (mTweet) {
this.twitterUser = mTweet[1];
Expand Down

0 comments on commit d8160e6

Please sign in to comment.