mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FIX: Authenticated x.com oneboxes failing (#31690)
Fixes the same issue that
e9387e238c
did for twitter.com, but for x.com. Since they redirect
on our first FinalDestination call with onebox, the request
fails even with `twitter_consumer_secret` and `twitter_consumer_key`
settings set.
This commit is contained in:
@ -30,6 +30,7 @@ module Oneboxer
|
||||
"http://vimeo.com",
|
||||
"https://www.youtube.com",
|
||||
"https://twitter.com",
|
||||
"https://x.com",
|
||||
Discourse.base_url,
|
||||
]
|
||||
end
|
||||
|
Reference in New Issue
Block a user