mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 22:33:37 +08:00
d681decf01
Previously, we couldn't change the user agent name dynamically for onebox requests. In this commit, a new hidden site setting `onebox_user_agent` is created to override the default user agent value specified in the [initializer](
|
||
---|---|---|
.. | ||
engine | ||
domain_checker_spec.rb | ||
engine_spec.rb | ||
helpers_spec.rb | ||
json_ld_spec.rb | ||
layout_spec.rb | ||
matcher_spec.rb | ||
movie_spec.rb | ||
oembed_spec.rb | ||
open_graph_spec.rb | ||
preview_spec.rb | ||
status_check_spec.rb |